Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶ added in v1.10.5
func (*Date) MarshalJSON ¶ added in v1.10.5
func (*Date) UnmarshalJSON ¶ added in v1.10.5
type FieldValue ¶
func ToOrderMap ¶
func ToOrderMap(jsonStr string) (list []FieldValue, err error)
type JsonObject ¶ added in v1.9.9
type JsonObject[V any] struct { Object V }
func (*JsonObject[V]) Scan ¶ added in v1.9.9
func (s *JsonObject[V]) Scan(value interface{}) error
type Millis ¶ added in v1.10.5
Millis represents a Unix time in milliseconds since January 1, 1970 UTC.
func (Millis) MarshalJSON ¶ added in v1.10.5
func (*Millis) UnmarshalJSON ¶ added in v1.10.5
type Nanos ¶ added in v1.10.5
Nanos represents a Unix time in nanoseconds since January 1, 1970 UTC.
func (Nanos) MarshalJSON ¶ added in v1.10.5
func (*Nanos) UnmarshalJSON ¶ added in v1.10.5
type OrderArray ¶
type OrderArray []any
type OrderMap ¶
type OrderMap struct {
// contains filtered or unexported fields
}
func (*OrderMap) Fields ¶
func (self *OrderMap) Fields() []FieldValue
func (*OrderMap) MarshalJSON ¶
implementation of interface Marshaler
func (*OrderMap) UnmarshalJSON ¶
implementation of interface Unmarshaler
type Time ¶ added in v1.10.5
Time represents a long date string of the following format: "2006-01-02T15:04:05.000Z".
func (*Time) MarshalJSON ¶ added in v1.10.5
func (*Time) UnmarshalJSON ¶ added in v1.10.5
Click to show internal directories.
Click to hide internal directories.