timestamp

package
v0.0.0-...-130476d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

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