Documentation ¶
Overview ¶
Package shortrfc3339 implements helpers for working with shortened RFC-3339 compliant timestamps (those without seconds).
Index ¶
Constants ¶
View Source
const Layout = "2006-01-02T15:04Z"
Layout is the time.Parse compliant parsing string for use when parsing Shortened RFC-3339 compliant timestamps.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timestamp ¶
Timestamp is a custom JSON encoder / decoder for shortened RFC3339-compliant timestamps (those without seconds).
func (*Timestamp) MarshalJSON ¶
func (*Timestamp) UnmarshalJSON ¶
func (*Timestamp) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.