Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Information ¶
type Information struct {
Name, Version, Branch, Shasum, Date, Go string
}
Information holds the build information.
func (Information) Fields ¶
func (i Information) Fields() []interface{}
Fields provides an intuitive way to add the build information to a log entry.
func (Information) String ¶
func (i Information) String() string
String provides the build information as a string.
Click to show internal directories.
Click to hide internal directories.