Skip to content

Commit

Permalink
Migrate from using Image to Images
Browse files Browse the repository at this point in the history
Closes: #2
  • Loading branch information
HelixSpiral committed Oct 12, 2023
1 parent ce0db0c commit 9387122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func main() {
TwitterAccessSecret: accessSecret,

Message: message,
Image: buoyPicture,
Images: [][]byte{buoyPicture},
})
if err != nil {
log.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ type MqttMessage struct {
TwitterAccessSecret string

Message string
Image []byte
Images [][]byte
}

0 comments on commit 9387122

Please sign in to comment.