Created
March 26, 2013 16:58
-
-
Save AeroNotix/5247096 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* hpcloud */ | |
type Account struct { | |
ObjectStore objectstore | |
Identity identity | |
/* Other APIs */ | |
} | |
func (a Account) CreateContainer(dir string) { | |
return a.ObjectStore.CreateContainer(a.Token(), dir) | |
} | |
/* in hpcloud/objectstore */ | |
type ObjectStore struct {} | |
func (o ObjectStore) CreateContainer(AuthToken string, whatever...) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment