Documentation ¶ Index ¶ type ID func New(collection string, objectId string) *ID func Parse(value string) (*ID, error) func ParseString(value types.String) (*ID, error) func (id *ID) ApiVersion() string func (id *ID) AsString() types.String func (id *ID) Collection() string func (id *ID) ObjectId() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ID ¶ type ID struct { Path string // contains filtered or unexported fields } func New ¶ func New(collection string, objectId string) *ID func Parse ¶ func Parse(value string) (*ID, error) func ParseString ¶ func ParseString(value types.String) (*ID, error) func (*ID) ApiVersion ¶ func (id *ID) ApiVersion() string func (*ID) AsString ¶ func (id *ID) AsString() types.String func (*ID) Collection ¶ func (id *ID) Collection() string func (*ID) ObjectId ¶ func (id *ID) ObjectId() string Source Files ¶ View all Source files id.go Click to show internal directories. Click to hide internal directories.