Documentation ¶
Index ¶
- Constants
- type Timestamp
- func (t Timestamp) Add(d time.Duration) Timestamp
- func (t Timestamp) After(t2 Timestamp) bool
- func (t Timestamp) Before(t2 Timestamp) bool
- func (t Timestamp) Equal(t2 Timestamp) bool
- func (t Timestamp) EqualToTime(t2 time.Time) bool
- func (t Timestamp) IsZero() bool
- func (t Timestamp) Nanosecond() int
- func (t Timestamp) String() string
- func (t Timestamp) ToTime() time.Time
- func (t Timestamp) Unix() int64
- func (t Timestamp) UnixMilli() int64
Constants ¶
View Source
const (
Format = "2006/01/02 15:04:05.999 MST"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.