GetVersion returns the semver string of the version
()
| 64 | |
| 65 | // GetVersion returns the semver string of the version |
| 66 | func GetVersion() string { |
| 67 | if metadata == "" { |
| 68 | return version |
| 69 | } |
| 70 | return version + "+" + metadata |
| 71 | } |
| 72 | |
| 73 | // GetUserAgent returns a user agent for user with an HTTP client |
| 74 | func GetUserAgent() string { |
no outgoing calls
no test coverage detected
searching dependent graphs…