fix(go): rename invalid comment format

This commit is contained in:
RouxAntoine 2024-12-28 14:53:31 +01:00
parent d5089ab6ae
commit cd18882093
No known key found for this signature in database
GPG Key ID: 098FB66FC0475E70
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ var (
version = "v0.0.0+unknown" // populated by goreleaser version = "v0.0.0+unknown" // populated by goreleaser
) )
// VersionOps describes printing version string. // VersionOp describes printing version string.
type VersionOp struct{} type VersionOp struct{}
func (_ VersionOp) Run(stdout, _ io.Writer) error { func (_ VersionOp) Run(stdout, _ io.Writer) error {

View File

@ -11,7 +11,7 @@ var (
version = "v0.0.0+unknown" // populated by goreleaser version = "v0.0.0+unknown" // populated by goreleaser
) )
// VersionOps describes printing version string. // VersionOp describes printing version string.
type VersionOp struct{} type VersionOp struct{}
func (_ VersionOp) Run(stdout, _ io.Writer) error { func (_ VersionOp) Run(stdout, _ io.Writer) error {

View File

@ -19,7 +19,7 @@ const (
// interactive context selection when fzf is installed. // interactive context selection when fzf is installed.
EnvFZFIgnore = "KUBECTX_IGNORE_FZF" EnvFZFIgnore = "KUBECTX_IGNORE_FZF"
// EnvForceColor describes the environment variable to disable color usage // EnvNoColor describes the environment variable to disable color usage
// when printing current context in a list. // when printing current context in a list.
EnvNoColor = `NO_COLOR` EnvNoColor = `NO_COLOR`