Rename methods in api/meta to be cleaner

This commit is contained in:
Clayton Coleman
2014-10-22 22:54:34 -04:00
parent 64d98cba73
commit 1ccb86c760
12 changed files with 77 additions and 77 deletions

View File

@@ -45,8 +45,8 @@ type SelfLinker interface {
SetSelfLink(obj Object, selfLink string) error
SelfLink(obj Object) (string, error)
// Knowing ID is sometimes necessary to use a SelfLinker.
ID(obj Object) (string, error)
// Knowing Name is sometimes necessary to use a SelfLinker.
Name(obj Object) (string, error)
}
// All api types must support the Object interface. It's deliberately tiny so that this is not an onerous