timestamp

package
v0.0.0-...-f54f16c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TimestampString

func TimestampString(ts *tspb.Timestamp) string

TimestampString: return a string representation of the ptype timestamp this is inspired by the ptypes.TimestampString() function that encodes errors into the string when receiving a nil or mis-typed timestamp. it also returns the string in RFC3339 format instead of RFC3339nano format in order to keep compatibility w/ the current behavior

Types

This section is empty.

Jump to

Keyboard shortcuts

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