Skip to content

Commit 504062b

Browse files
committed
Add changes to improve go report
1 parent bcd7d8c commit 504062b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

cmd/cain.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,12 @@ func NewSchemaCmd(out io.Writer) *cobra.Command {
157157
return cmd
158158
}
159159

160-
var GitTag, GitCommit string
160+
var (
161+
// GitTag stands for a git tag
162+
GitTag string
163+
// GitCommit stands for a git commit hash
164+
GitCommit string
165+
)
161166

162167
// NewVersionCmd prints version information
163168
func NewVersionCmd(out io.Writer) *cobra.Command {

0 commit comments

Comments
 (0)