Files
opentf/vendor/github.com/scaleway/scaleway-cli/pkg/scwversion/version.go
James Bardin 359170d5d7 sync scaleway packages
multiple scaleway-cli packages were out of sync, unfortunately this
pulled in some other updates.
2017-02-24 15:06:32 -05:00

17 lines
351 B
Go

package scwversion
import "fmt"
var (
// VERSION represents the semver version of the package
VERSION = "v1.11.1+dev"
// GITCOMMIT represents the git commit hash of the package, it is configured at build time
GITCOMMIT string
)
// UserAgent returns a string to be used by API
func UserAgent() string {
return fmt.Sprintf("scw/%v", VERSION)
}