Skip to content

Commit a95efa6

Browse files
committed
feat: build version adjust
1 parent e349ba4 commit a95efa6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/main.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import (
1616
)
1717

1818
var (
19-
version = "master"
20-
commit = ""
21-
date = ""
22-
builtBy = ""
19+
Version = "master"
20+
Commit = ""
21+
Date = ""
22+
BuiltBy = ""
2323
)
2424

2525
var (
@@ -54,7 +54,7 @@ func showMeta(lc *leetcode.Leetcode, number string) {
5454
}
5555

5656
func main() {
57-
app.Version(buildVersion(version, commit, date, builtBy))
57+
app.Version(buildVersion(Version, Commit, Date, BuiltBy))
5858
app.VersionFlag.Short('v')
5959
app.HelpFlag.Short('h')
6060

0 commit comments

Comments
 (0)