jtime

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTimeFormat added in v1.0.2

func SetTimeFormat(format string)

Types

type Int added in v1.0.2

type Int int64

func (Int) MarshalJSON added in v1.0.2

func (t Int) MarshalJSON() ([]byte, error)

UnmarshalJSON implement interface Marshaler

func (*Int) Scan added in v1.0.2

func (t *Int) Scan(v interface{}) (err error)

Scan implement interface Scanner

func (*Int) UnmarshalJSON added in v1.0.2

func (t *Int) UnmarshalJSON(data []byte) (err error)

UnmarshalJSON implement interface Unmarshaler

func (Int) Value added in v1.0.2

func (t Int) Value() (driver.Value, error)

Value implement interface Valuer

type Time added in v1.0.2

type Time time.Time

func (Time) MarshalJSON added in v1.0.2

func (t Time) MarshalJSON() ([]byte, error)

UnmarshalJSON implement interface Marshaler

func (Time) Proto added in v1.0.2

func (t Time) Proto() time.Time

Proto get the prototype of jtime.Time

func (*Time) Scan added in v1.0.2

func (t *Time) Scan(v interface{}) error

Scan implement interface Scanner

func (*Time) UnmarshalJSON added in v1.0.2

func (t *Time) UnmarshalJSON(data []byte) (err error)

UnmarshalJSON implement interface Unmarshaler

func (Time) Value added in v1.0.2

func (t Time) Value() (driver.Value, error)

Value implement interface Valuer

Jump to

Keyboard shortcuts

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