Documentation ¶
Overview ¶
Package timeconv contains utilities for converting time.
The gRPC/Protobuf libraries contain time implementations that require conversion to and from Go times. This library provides utilities and convenience functions for performing conversions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Format ¶
Format formats a *timestamp.Timestamp into a string.
This follows the rules for time.Time.Format().
func String ¶
String formats the timestamp into a user-friendly string.
Currently, this uses the 'time.ANSIC' format string, but there is no guarantee that this will not change.
This is a convenience function for formatting timestamps for user display.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.