enable goconst linter

add package level constants for true/false str values
This commit is contained in:
2026-02-15 14:58:59 +00:00
parent 23285e6e50
commit c8cfef858c
15 changed files with 57 additions and 47 deletions

View File

@@ -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.