blob: 0fa743776d3cd28e92322e6ee5bfa71e84a8b07c [file] [log] [blame]
package apiversions
import (
"strings"
"github.com/gophercloud/gophercloud"
)
func apiVersionsURL(c *gophercloud.ServiceClient) string {
return c.Endpoint
}
func apiInfoURL(c *gophercloud.ServiceClient, version string) string {
return c.Endpoint + strings.TrimRight(version, "/") + "/"
}