Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "unknown-version" GitCommit = unknownGitCommit BuildTime = "unknown-buildtime" )
Default build-time variable. These values are overridden via ldflags
Functions ¶
func FullVersion ¶
func FullVersion() string
FullVersion returns the completion version informations of the project
func GroupErrors ¶
GroupErrors returns an aggregation of several errors applying simplifications: ignore nils, avoid groups of one, flatten subgroups of errors, etc.
Types ¶
type ErrorGroup ¶
type ErrorGroup struct {
// contains filtered or unexported fields
}
ErrorGroup is a type of error that aggregates several errors.
func (ErrorGroup) Error ¶
func (err ErrorGroup) Error() string
Click to show internal directories.
Click to hide internal directories.