Jamie Hannaford | 5d6b875 | 2014-10-09 10:25:09 +0200 | [diff] [blame] | 1 | package common |
2 | |||||
3 | import ( | ||||
Jon Perritt | 27249f4 | 2016-02-18 10:35:59 -0600 | [diff] [blame] | 4 | "github.com/gophercloud/gophercloud" |
5 | "github.com/gophercloud/gophercloud/testhelper/client" | ||||
Jamie Hannaford | 5d6b875 | 2014-10-09 10:25:09 +0200 | [diff] [blame] | 6 | ) |
7 | |||||
8 | const TokenID = client.TokenID | ||||
9 | |||||
10 | func ServiceClient() *gophercloud.ServiceClient { | ||||
11 | sc := client.ServiceClient() | ||||
12 | sc.ResourceBase = sc.Endpoint + "v2.0/" | ||||
13 | return sc | ||||
14 | } |