Documentation ¶
Index ¶
- type Timestamp
- func (t Timestamp) GetBSON() (interface{}, error)
- func (t *Timestamp) MarshalJSON() ([]byte, error)
- func (t *Timestamp) Scan(v interface{}) error
- func (t *Timestamp) SetBSON(raw bson.Raw) error
- func (t *Timestamp) Unix() int64
- func (t *Timestamp) UnmarshalJSON(b []byte) error
- func (t *Timestamp) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timestamp ¶
Timestamp time.Time
func (*Timestamp) MarshalJSON ¶
MarshalJSON transfer timestamp to byte
func (*Timestamp) UnmarshalJSON ¶
UnmarshalJSON transfer byte to timestamp
Click to show internal directories.
Click to hide internal directories.