mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-08 18:03:37 +00:00
enable goconst linter
add package level constants for true/false str values
This commit is contained in:
@@ -15,6 +15,11 @@ import (
|
||||
"github.com/onyx-and-iris/xair-cli/internal/xair"
|
||||
)
|
||||
|
||||
const (
|
||||
trueStr = "true"
|
||||
falseStr = "false"
|
||||
)
|
||||
|
||||
var version string // Version of the CLI, set at build time.
|
||||
|
||||
// VersionFlag is a custom flag type that prints the version and exits.
|
||||
|
||||
Reference in New Issue
Block a user