Time

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time struct {
	Bytes [8]byte
}

Time

func New

func New() *Time

func (*Time) Decode

func (b *Time) Decode(by []byte) (out []byte)

func (*Time) DecodeOne

func (b *Time) DecodeOne(by []byte) *Time

func (*Time) Encode

func (b *Time) Encode() []byte

func (*Time) Get

func (b *Time) Get() time.Time

func (*Time) Put

func (b *Time) Put(t time.Time) *Time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL