From 93871222dc6be56ab1837b551028d5fd19212c62 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Wed, 11 Oct 2023 21:58:56 -0400 Subject: [PATCH] Migrate from using Image to Images Closes: #2 --- main.go | 2 +- struct.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8b5a648..325693d 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,7 @@ func main() { TwitterAccessSecret: accessSecret, Message: message, - Image: buoyPicture, + Images: [][]byte{buoyPicture}, }) if err != nil { log.Fatal(err) diff --git a/struct.go b/struct.go index 22725a1..9b42ade 100644 --- a/struct.go +++ b/struct.go @@ -13,5 +13,5 @@ type MqttMessage struct { TwitterAccessSecret string Message string - Image []byte + Images [][]byte }