github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/vpcep/v1/endpoints/urls.go (about) 1 package endpoints 2 3 import golangsdk "github.com/opentelekomcloud/gophertelekomcloud" 4 5 const basePath = "vpc-endpoints" 6 7 func baseURL(client *golangsdk.ServiceClient) string { 8 return client.ServiceURL(basePath) 9 } 10 11 func resourceURL(client *golangsdk.ServiceClient, id string) string { 12 return client.ServiceURL(basePath, id) 13 }