runtime

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

func MustBytesToUUID(b []byte) uuid.UUID

MustBytesToUUID returns a uuid.UUID from byte-slice b, if it fails it panics.

func MustExtractUUIDBytes

func MustExtractUUIDBytes(u uuid.UUID) []byte

MustExtractUUIDBytes returns the []byte representation of the uuid.UUID, if it fails it panics.

func ValidateUUID

func ValidateUUID(b []byte) error

ValidateUUID returns an error if b is not a valid UUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL