watchtower/internal/meta/meta.go
nils måsén f508c92ae0
* feat: custom user agent (#990)
* fix: move build meta to own package
  this allows it to be referenced from other packages without causing a cyclic dependency
* feat: custom user agent
2021-06-11 19:23:00 +02:00

13 lines
246 B
Go

package meta
var (
// Version is the compile-time set version of Watchtower
Version = "v0.0.0-unknown"
// UserAgent is the http client identifier derived from Version
UserAgent string
)
func init() {
UserAgent = "Watchtower/" + Version
}