mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 07:45:30 +00:00
12 lines
246 B
Go
12 lines
246 B
Go
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 string
|
|
|
|
func init() {
|
|
if Version == "" {
|
|
Version = "dev"
|
|
}
|
|
}
|