12345678910111213141516 |
- package apiversions
- import (
- "strings"
- "devel.mephi.ru/iacherepanov/openstack-gophercloud"
- )
- func apiVersionsURL(c *gophercloud.ServiceClient) string {
- return c.Endpoint
- }
- func apiInfoURL(c *gophercloud.ServiceClient, version string) string {
- return c.Endpoint + strings.TrimRight(version, "/") + "/"
- }
|