version

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: BSD-3-Clause Imports: 12 Imported by: 39

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var DebugMatch bool

Functions

This section is empty.

Types

type Version

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

func ReadExe(file string) (Version, error)

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

Jump to

Keyboard shortcuts

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