From 5bf80666d68d4405b934081b3121ef79460e1fed Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 6 Aug 2023 03:44:06 +0400 Subject: [PATCH] Removed explicit type for showVersion var. --- cmd/dwelling-radio/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dwelling-radio/main.go b/cmd/dwelling-radio/main.go index 937d738..981e9b8 100644 --- a/cmd/dwelling-radio/main.go +++ b/cmd/dwelling-radio/main.go @@ -24,7 +24,7 @@ var ( mostListenedSongPath = flag.String("mls-file", "/mnt/data/appdata/mostlistenedsong", "path to a file that stores info about the most listened song") songListLen = flag.Int("lst-len", 10, "number of songs to show in last N songs table") - showVersion *bool = flag.Bool("v", false, "show version") + showVersion = flag.Bool("v", false, "show version") ) var version string