blob: 3b3e8da505d166ba0ff48c78df2545ac44961bd0 [file] [log] [blame]
Jamie Hannaford5b7acc12015-02-13 09:14:25 +01001package flavors
2
3import (
Jamie Hannaford05d200d2015-02-20 14:49:05 +01004 "strconv"
5
Jamie Hannaford5b7acc12015-02-13 09:14:25 +01006 "github.com/rackspace/gophercloud"
7)
8
Jamie Hannaford05d200d2015-02-20 14:49:05 +01009func getURL(client *gophercloud.ServiceClient, id int) string {
10 return client.ServiceURL("flavors", strconv.Itoa(id))
Jamie Hannaford5b7acc12015-02-13 09:14:25 +010011}
12
13func listURL(client *gophercloud.ServiceClient) string {
14 return client.ServiceURL("flavors")
15}