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