Help us shape the future of Go! Take the 2026 Go Developer Survey

jsontime

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TIMEFORMAT string = "2006-01-02 15:04:05"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonTime

type JsonTime time.Time

func Now

func Now() JsonTime

func (*JsonTime) GobDecode

func (t *JsonTime) GobDecode(data []byte) error

func (*JsonTime) GobEncode

func (t *JsonTime) GobEncode() ([]byte, error)

func (JsonTime) MarshalJSON

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

func (JsonTime) String

func (t JsonTime) String() string

func (*JsonTime) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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