aboutsummaryrefslogtreecommitdiff
path: root/examples/radio/main.go
diff options
context:
space:
mode:
authorWheresAlice <[email protected]>2024-04-08 19:59:58 +0100
committerWheresAlice <[email protected]>2024-04-08 19:59:58 +0100
commit26ac8e38f37f8b3f5fb4f884558b2ee4670f07bd (patch)
tree0b51caf7980cf8fda633a9b5207439c00bba012b /examples/radio/main.go
parente0d8bc4eafc6bbe17d62fd559110b842325d9931 (diff)
fix static checks
Diffstat (limited to 'examples/radio/main.go')
-rw-r--r--examples/radio/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/radio/main.go b/examples/radio/main.go
index 5b438f1..0d83d79 100644
--- a/examples/radio/main.go
+++ b/examples/radio/main.go
@@ -2,7 +2,6 @@ package main
import (
"context"
- "fmt"
"github.com/charmbracelet/log"
pb "github.com/meshnet-gophers/meshtastic-go/meshtastic"
"github.com/meshnet-gophers/meshtastic-go/transport"
@@ -83,5 +82,5 @@ func processMessage(message *pb.Data) string {
return s.String()
}
- return fmt.Sprintf("unknown message type")
+ return "unknown message type"
}