Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrToObjectID ¶
type StrToObjectID string
StrToObjectID - Convert type of ID between string and primitive.ObjectID
func (StrToObjectID) MarshalBSONValue ¶
func (id StrToObjectID) MarshalBSONValue() (bsontype.Type, []byte, error)
MarshalBSONValue - Help ID type conversion
Click to show internal directories.
Click to hide internal directories.