We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b720c05 commit 1e8e47fCopy full SHA for 1e8e47f
main.go
@@ -13,8 +13,8 @@ import (
13
"github.com/matryer/moq/pkg/moq"
14
)
15
16
-// Version is the command version, injected at build time.
17
-var Version string = "dev"
+// version is the command version, injected at build time.
+var version string = "dev"
18
19
type userFlags struct {
20
outFile string
@@ -54,7 +54,7 @@ func main() {
54
flags.args = flag.Args()
55
56
if *printVersion {
57
- fmt.Printf("moq version %s\n", Version)
+ fmt.Printf("moq version %s\n", version)
58
os.Exit(0)
59
}
60
0 commit comments