version

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2017 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Release        string // Go version (runtime.Version in the program)
	BoringCrypto   bool   // program uses BoringCrypto
	StandardCrypto bool   // program uses standard crypto (replaced by BoringCrypto)
}

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