Thanks to visit codestin.com Credit goes to github.com
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 4eee4c8 commit 54e1de2Copy full SHA for 54e1de2
websites/code/studygolang/install
@@ -20,7 +20,7 @@ DATE=`date +%FT%T%z`
20
21
gofmt -w src
22
23
-go install -ldflags "-X util/version.Version "$VERSION" -X util.Date "$DATE ./...
+go install -ldflags "-X util/version.Version "$VERSION" -X util/version.Date "$DATE ./...
24
25
export GOPATH="$OLDGOPATH"
26
export PATH="$OLDPATH"
websites/code/studygolang/install.bat
@@ -23,7 +23,7 @@ set VERSION=%VERNAME%-%VERCODE%
:: -tags "debug" 表示测试
-go install -tags "debug" -ldflags "-X util.version.Version "%VERSION%" -X util.Date "%date:~3,10%T%time%"" ./...
+go install -tags "debug" -ldflags "-X util/version.Version "%VERSION%" -X util/version.Date "%date:~3,10%T%time%"" ./...
27
28
set GOPATH=%OLDGOPATH%
29
0 commit comments