Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 1 | package accounts |
| 2 | |
Jon Perritt | 27249f4 | 2016-02-18 10:35:59 -0600 | [diff] [blame^] | 3 | import "github.com/gophercloud/gophercloud" |
Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 4 | |
Jon Perritt | 4a59d23 | 2014-10-09 20:21:31 -0500 | [diff] [blame] | 5 | func getURL(c *gophercloud.ServiceClient) string { |
Ash Wilson | e47ea9e | 2014-09-10 16:03:44 -0400 | [diff] [blame] | 6 | return c.Endpoint |
| 7 | } |
Jon Perritt | 4a59d23 | 2014-10-09 20:21:31 -0500 | [diff] [blame] | 8 | |
| 9 | func updateURL(c *gophercloud.ServiceClient) string { |
| 10 | return getURL(c) |
| 11 | } |