{"modulePath":"github.com/sample/gophercloud","version":"v0.0.0-20160826205153-07328757774b","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package utils\n\n## Types\n\n```go\ntype Version struct {\n\tID       string\n\tSuffix   string\n\tPriority int\n}\n```\nVersion is a supported API version, corresponding to a vN package within the appropriate service.\n\n```go\nfunc ChooseVersion(client *gophercloud.ProviderClient, recognized []*Version) (*Version, string, error)\n```\nChooseVersion queries the base endpoint of an API to choose the most recent non-experimental alternative from a service's published versions. It returns the highest-Priority Version among the alternatives that are provided, as well as its corresponding endpoint.\n\n","path":"github.com/sample/gophercloud/openstack/utils","name":"utils","synopsis":"","isRedistributable":true}
