feat: custom torrent client version (#341)

This commit is contained in:
Levi authored and GitHub committed 2024-01-23 17:44:44 +08:00
1 parent 6d136604db
commit ef5ee99f04
11 files changed
+311 -226

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
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"
}
}