version.go (264B)
1 package pub 2 3 import ( 4 "fmt" 5 ) 6 7 const ( 8 // Version string, used in the User-Agent 9 version = "v1.0.0" 10 ) 11 12 // goFedUserAgent returns the user agent string for the go-fed library. 13 func goFedUserAgent() string { 14 return fmt.Sprintf("(go-fed/activity %s)", version) 15 }