Versions in this module Expand all Collapse all v2 v2.1.0 Mar 8, 2022 v2.0.2 Nov 23, 2020 Changes in this version + const Hour + const Microsecond + const Millisecond + const Minute + const Nanosecond + const Second + type Duration time.Duration + func (d *Duration) RedisScan(src interface{}) error + func (d *Duration) UnmarshalBinary(data []byte) error + func (d *Duration) UnmarshalJSON(data []byte) error + func (d *Duration) UnmarshalParam(data string) error + func (d Duration) MarshalBinary() (data []byte, err error) + func (d Duration) MarshalJSON() ([]byte, error) + func (d Duration) RedisArg() interface{} + func (d Duration) Round(m Duration) Duration + func (d Duration) String() string + type Time struct + func FromString(str string) (Time, error) + func Now() Time + func (t *Time) RedisScan(src interface{}) error + func (t *Time) Scan(src interface{}) error + func (t *Time) UnmarshalBinary(data []byte) error + func (t *Time) UnmarshalJSON(data []byte) error + func (t *Time) UnmarshalParam(data string) error + func (t Time) MarshalBinary() (data []byte, err error) + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) RedisArg() interface{} + func (t Time) String() string + func (t Time) Sub(u Time) Duration + func (t Time) Value() (driver.Value, error) Other modules containing this package github.com/proemergotech/microtime