Documentation ¶
Index ¶
Constants ¶
View Source
const DEIS_DATETIME_FORMAT string = "2006-01-02T15:04:05MST"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Time ¶
Time represents the standard datetime format used across the Deis Platform.
func (*Time) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface. The time is a quoted string in Deis' datetime format.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface. The time is expected to be a quoted string in Deis' datetime format.
func (*Time) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface. The time is expected to be in Deis' datetime format.
Click to show internal directories.
Click to hide internal directories.