Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a8abba

Browse files
author
xuxinhua
committed
version 移入子包,在特定的程序中导入使用
1 parent f985e06 commit 1a8abba

File tree

1 file changed

+1
-1
lines changed
  • websites/code/studygolang/src/util/version

1 file changed

+1
-1
lines changed

websites/code/studygolang/src/util/version.go renamed to websites/code/studygolang/src/util/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To set these manually use -ldflags together with -X, like in this example:
2121
2222
*/
2323

24-
package util
24+
package version
2525

2626
import (
2727
"flag"

0 commit comments

Comments
 (0)