github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/identity/v3.0/users/urls.go (about) 1 package users 2 3 import "github.com/huaweicloud/golangsdk" 4 5 const rootPath = "OS-USER" 6 7 func createURL(client *golangsdk.ServiceClient) string { 8 return client.ServiceURL(rootPath, "users") 9 } 10 11 func updateURL(client *golangsdk.ServiceClient, userID string) string { 12 return client.ServiceURL(rootPath, "users", userID) 13 } 14 15 func getURL(client *golangsdk.ServiceClient, userID string) string { 16 return client.ServiceURL(rootPath, "users", userID) 17 }