fix: build flags type

This commit is contained in:
liwei committed 2024-03-30 11:10:34 +08:00
1 parent 0a9e39ed75
commit c9692e76e5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ package base
// Version is the build version, set at build time, using `go build -ldflags "-X github.com/GopeedLab/gopeed/pkg/base.Version=1.0.0"`.
var Version string
var InDocker bool
var InDocker string
func init() {
if Version == "" {