From cd0a52001c70f804eba058722ae65bdda3f400fe Mon Sep 17 00:00:00 2001 From: miampf Date: Fri, 19 Jul 2024 15:11:24 +0200 Subject: [PATCH] formatting fmt fix comment --- cli/constants/constants.go | 6 ++---- cli/main.go | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/cli/constants/constants.go b/cli/constants/constants.go index 39d9fd47b..75b4b0b1b 100644 --- a/cli/constants/constants.go +++ b/cli/constants/constants.go @@ -3,7 +3,5 @@ package constants -var ( - /// This value is injected at build time. - Version = "0.0.0-dev" -) +// Version value is injected at build time. +var Version = "0.0.0-dev" diff --git a/cli/main.go b/cli/main.go index 1f00fb778..c86aedc0f 100644 --- a/cli/main.go +++ b/cli/main.go @@ -31,9 +31,7 @@ func execute() error { return cmd.ExecuteContext(ctx) } -var ( - genpolicyVersion = "0.0.0-dev" -) +var genpolicyVersion = "0.0.0-dev" func buildVersionString() string { var versionsBuilder strings.Builder