Documentation
¶
Overview ¶
Package api implements common internal types across the Manifold API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Time ¶
Time is a wrapper for time.Time that implements the text.Marshaler interface.
func Unix ¶
Unix returns the local Time corresponding to the given Unix time, sec seconds and nsec nanoseconds since January 1, 1970 UTC. It is valid to pass nsec outside the range [0, 999999999]. Not all sec values have a corresponding time value. One such value is 1<<63-1 (the largest int64 value).
func (Time) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for t.
Click to show internal directories.
Click to hide internal directories.