Documentation

Index

Constants

This section is empty.

Variables

View Source
var Branch string

    Branch allows for a queryable branch name set at build time.

      Sha allows for a queryable git sha set at build time.

      View Source
      var Version string

        Version allows for a queryable version set at build time.

        Functions

        func PrintBuildInfo

        func PrintBuildInfo() string

          PrintBuildInfo prints the build information.

          Types

          type BuildInfo

          type BuildInfo struct {
          	Branch  string `yaml:"branch,omitempty"`
          	Sha     string `yaml:"sha,omitempty"`
          	Version string `yaml:"version,omitempty"`
          }

            BuildInfo is a struct for build information. nolint:golint

            Source Files