go fmt cred-alert
@@ -2,13 +2,10 @@ package commands
import "fmt"
-type VersionCommand struct {
-}
+type VersionCommand struct{}
-var (
// overridden in CI
- version = "dev"
-)
+var version = "dev"
func (command *VersionCommand) Execute(args []string) error {
fmt.Println(version)
