Skip to content

Commit 3afb75d

Browse files
committed
go lint
Signed-off-by: Troy Connor <[email protected]>
1 parent 46d72cb commit 3afb75d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/setup-envtest/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ var (
5252

5353
index = flag.String("index", remote.DefaultIndexURL, "index to discover envtest binaries")
5454

55+
// BranchVersion is the current setup-envtest branch that is used for the binary version of setup-envtest.
5556
BranchVersion = "unknown"
5657
)
5758

tools/setup-envtest/workflows/workflows.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,13 @@ func (f Sideload) Do(env *envp.Env) {
8787
env.PrintInfo(f.PrintFormat)
8888
}
8989

90+
// Vresion is the workflow that shows the current binary verison
91+
// of setup-envtest.
9092
type Version struct {
9193
BinaryVersion string
9294
}
9395

96+
// Do executes the workflow.
9497
func (v Version) Do(env *envp.Env) {
9598
fmt.Fprintf(env.Out, "setup-envtest version: %s\n", v.BinaryVersion)
9699
}

0 commit comments

Comments
 (0)