customtime

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeRFC3339Milli

type TimeRFC3339Milli struct {
	time.Time
}

TimeRFC3339Milli represents a time that is represened to the millisecond (3 sigificant digits vs. Go's 6 significant digits. This iss useful for some Java deployments. Read more here: https://stackoverflow.com/a/41678233/1908967

func (*TimeRFC3339Milli) IsSet

func (ct *TimeRFC3339Milli) IsSet() bool

func (*TimeRFC3339Milli) MarshalJSON

func (ct *TimeRFC3339Milli) MarshalJSON() ([]byte, error)

func (*TimeRFC3339Milli) UnmarshalJSON

func (ct *TimeRFC3339Milli) UnmarshalJSON(b []byte) (err error)

Jump to

Keyboard shortcuts

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