blob: 936f1c9b720eec9847ef6fed8b6cb4025f0f8238 [file] [log] [blame]
package apiversions
import (
"strings"
"github.com/gophercloud/gophercloud"
)
func getURL(c *gophercloud.ServiceClient, version string) string {
return c.ServiceURL(strings.TrimRight(version, "/") + "/")
}
func listURL(c *gophercloud.ServiceClient) string {
return c.ServiceURL("")
}