goversion: Index | Files

package version

import ""

Package version reports the Go version used to build program executables.


Package Files

asm.go exe.go read.go


var DebugMatch bool

type Version Uses

type Version struct {
    Release        string // Go version (runtime.Version in the program)
    ModuleInfo     string // program's module information
    BoringCrypto   bool   // program uses BoringCrypto
    StandardCrypto bool   // program uses standard crypto (replaced by BoringCrypto)
    FIPSOnly       bool   // program imports "crypto/tls/fipsonly"

Version is the information reported by ReadExe.

func ReadExe Uses

func ReadExe(file string) (Version, error)

ReadExe reports information about the Go version used to build the program executable named by file.

Package version imports 12 packages (graph) and is imported by 17 packages. Updated 2018-04-04. Refresh now. Tools for package owners.