version - ActiveState ActiveGo 1.8

Package version

import ""

Overview ▾


var (
    // The git commit that was compiled. These will be filled in by the
    // compiler.
    GitCommit   string
    GitDescribe string

    // Release versions of the build. These will be filled in by one of the
    // build tag-specific files.
    Version           = "unknown"
    VersionPrerelease = "unknown"

func GetHumanVersion

func GetHumanVersion() string

GetHumanVersion composes the parts of the version in a way that's suitable for displaying to humans.