Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 1 | package flavors |
| 2 | |
| 3 | import ( |
Jon Perritt | 27249f4 | 2016-02-18 10:35:59 -0600 | [diff] [blame] | 4 | "github.com/gophercloud/gophercloud" |
Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 5 | ) |
| 6 | |
Jon Perritt | 9af0385 | 2014-10-07 13:41:35 -0500 | [diff] [blame] | 7 | func getURL(client *gophercloud.ServiceClient, id string) string { |
| 8 | return client.ServiceURL("flavors", id) |
Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 9 | } |
| 10 | |
Jon Perritt | 9af0385 | 2014-10-07 13:41:35 -0500 | [diff] [blame] | 11 | func listURL(client *gophercloud.ServiceClient) string { |
| 12 | return client.ServiceURL("flavors", "detail") |
Ash Wilson | 16e75ef | 2014-09-17 09:54:57 -0400 | [diff] [blame] | 13 | } |