Documentation ¶
Index ¶
- func FromVarint(b B) (t *T, rem B, err error)
- type B
- type E
- type S
- type T
- func (t *T) Bytes() (b B)
- func (t *T) FromInt(i int)
- func (t *T) FromVarint(dst B) (b B)
- func (t *T) I64() int64
- func (t *T) Int() int
- func (t *T) MarshalJSON(dst B) (b B, err error)
- func (t *T) String() (s S)
- func (t *T) Time() time.Time
- func (t *T) U64() uint64
- func (t *T) UnmarshalJSON(b B) (r B, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
type T int64
T is a convenience type for UNIX 64 bit timestamps of 1 second precision.
func (*T) FromVarint ¶
func (*T) Time ¶
Time converts a timestamp.Time value into a canonical UNIX 64 bit 1 second precision timestamp.
Click to show internal directories.
Click to hide internal directories.