Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTime ¶
func ExtractTime(t *timestamppb.Timestamp) time.Time
ExtractTime returns the time.Time from a proto WKT Timestamp
func MustBytesToUUID ¶
MustBytesToUUID returns a uuid.UUID from byte-slice b, if it fails it panics.
func MustExtractUUIDBytes ¶
MustExtractUUIDBytes returns the []byte representation of the uuid.UUID, if it fails it panics.
func ValidateUUID ¶
ValidateUUID returns an error if b is not a valid UUID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.