internal

package
v0.4.20 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

func GroupErrors(errs ...error) error

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

Jump to

Keyboard shortcuts

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