Documentation ¶
Index ¶
- Constants
- Variables
- func Freeze()
- func Unfreeze()
- type Duration
- type Time
- func (t Time) Add(d Duration) Time
- func (t Time) Before(other Time) bool
- func (t Time) Equal(other Time) bool
- func (t Time) IsZero() bool
- func (t Time) MarshalJSON() ([]byte, error)
- func (t *Time) Scan(value interface{}) error
- func (t Time) String() string
- func (t Time) Sub(d Duration) Time
- func (t Time) UTC() Time
- func (t Time) Value() (driver.Value, error)
Constants ¶
View Source
const EpochTime = "2022-09-16T15:02:04Z"
Variables ¶
View Source
var (
Hour = Duration{/* contains filtered or unexported fields */}
)
Functions ¶
Types ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (Time) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.