Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTimestamp ¶
func NewTimestamp(t time.Time) (*timestamppb.Timestamp, error)
NewTimestamp creates a new proto WKT timestamp from a time.Time. It runs CheckValid() on the timestamp before returning.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.