1 2 3 4 5 6 7 8 9
path := "/" + id.String() + "/meta/any" for i, name := range resourceNames { path += "?include=resource/" + name } var resourceInfo struct { Meta map[string] params.Resource } client.Get(path, &resourceInfo)