Documentation ¶
Index ¶
- func AssertGenealogy(kind string) (result *genealogyAssertion)
- func AssertedKinds() (result []string)
- type Key
- func Decode(s string) (result Key, err error)
- func DecodeKind(kind string, s string) (result Key, err error)
- func For(i interface{}, StringId string, IntId int64, parent Key) (result Key, err error)
- func New(kind string, stringID string, intID int64, parent Key) (result Key, err error)
- func NewWithoutValidate(kind string, stringID string, intID int64, parent Key) (result Key)
- func (self Key) Encode() (result string)
- func (s Key) Equal(k Key) bool
- func (self Key) IntID() (result int64)
- func (self Key) Kind() (result string)
- func (self Key) MarshalJSON() (b []byte, err error)
- func (self Key) Parent() (result Key)
- func (self Key) Split() (kind string, stringID string, intID int64, parent Key)
- func (self Key) String() string
- func (self Key) StringID() (result string)
- func (self *Key) UnmarshalJSON(b []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGenealogy ¶
func AssertGenealogy(kind string) (result *genealogyAssertion)
func AssertedKinds ¶
func AssertedKinds() (result []string)
Types ¶
type Key ¶
type Key string
func NewWithoutValidate ¶
func (Key) MarshalJSON ¶
func (*Key) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.