Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateTime ¶
DateTime is an alias for time.Time which implements serialization matching the conjure wire specification at https://github.com/palantir/conjure/blob/master/docs/spec/wire.md
func ParseDateTime ¶
ParseDateTime parses a DateTime from a string. Conjure supports DateTime inputs that end with an optional zone identifier enclosed in square brackets (for example, "2017-01-02T04:04:05.000000000+01:00[Europe/Berlin]").
func (DateTime) MarshalText ¶
MarshalText implements encoding.TextMarshaler (used by encoding/json and others).
func (*DateTime) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler (used by encoding/json and others).
Click to show internal directories.
Click to hide internal directories.