Skip to content

Commit

Permalink
पुनरीक्षण
Browse files Browse the repository at this point in the history
  • Loading branch information
boseji committed Aug 8, 2024
1 parent ed64d5a commit 1ffd7a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ run:
go mod tidy
go run ${GOFILES}

build: #test
# '-' Helps to Ignore Errors (https://stackoverflow.com/a/2670143)
build: test
go mod tidy
# '-' Helps to Ignore Errors (https://stackoverflow.com/a/2670143)
-mkdir build 2> /dev/null
GOOS="windows/amd64" & go build -o build/mli_windows_x64.exe ${GOFILES}
upx --best build/mli_windows_x64.exe
Expand Down
2 changes: 1 addition & 1 deletion mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func setupMQTT(m cfg,
// Set Callbacks
opts.SetDefaultPublishHandler(
func(client mqtt.Client, msg mqtt.Message) {
log.Printf("[MQTT] Received message: %q\n from topic: %q\n",
log.Printf("[MQTT] Received message: %q from topic: %q\n",
msg.Payload(), msg.Topic())
// Send for Record
rec(msg.Topic(), string(msg.Payload()))
Expand Down

0 comments on commit 1ffd7a7

Please sign in to comment.