diff --git a/main.go b/main.go index 72a57d9..fa5349a 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,8 @@ import ( "github.com/holoplot/go-evdev" ) +const Version = "v0.1.1" + func main() { // Setup logger h := slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo}) @@ -48,6 +50,7 @@ func main() { }() // Start listening for PTT key + slog.Info("Starting event listener", "version", Version) for !done { ev, err := input.ReadOne() if err != nil {