Documentation
¶
Overview ¶
Package format defines string formatting utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func And ¶
And connects the given values together in an English list using an "and" as a conjunction and an Oxford comma.
func Err ¶
Err returns the error's string, but may also reformat that error string to be a little more human-friendly.
In particular, it returns the gRPC status message only if the message is a gRPC error. Otherwise, those errors output a lot of mostly useless line noise in addition to the error message.
Types ¶
Click to show internal directories.
Click to hide internal directories.