Documentation ¶
Index ¶
- func MongoRegistry() *bsoncodec.Registry
- type DateTime
- type ObjectId
- func (x ObjectId) Hex() string
- func (x ObjectId) IsZero() bool
- func (x ObjectId) MarshalGQL(w io.Writer)
- func (x ObjectId) MarshalJSON() ([]byte, error)
- func (x ObjectId) MarshalText() ([]byte, error)
- func (x ObjectId) String() string
- func (x ObjectId) Timestamp() time.Time
- func (x *ObjectId) UnmarshalGQL(v any) error
- func (x *ObjectId) UnmarshalJSON(b []byte) error
- func (x *ObjectId) UnmarshalText(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MongoRegistry ¶
Types ¶
type DateTime ¶
func (DateTime) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface
func (*DateTime) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Unmarshaler interface
type ObjectId ¶
func (ObjectId) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface
func (ObjectId) MarshalJSON ¶
func (ObjectId) MarshalText ¶
func (*ObjectId) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Unmarshaler interface
func (*ObjectId) UnmarshalJSON ¶
func (*ObjectId) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.