lib

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Help

func Help()

Help function prints out some basic help information for the user when requested via the command line flag '-h'

func Version

func Version(appname string, appversion string)

Version function collects details of the program being run and displays it on stdout

Types

type Current

type Current struct {
	// contains filtered or unexported fields
}

func (*Current) Populate

func (c *Current) Populate()

Populate function obtains the data required to

func (*Current) VersionString

func (c *Current) VersionString() string

VersionString creates a new string containing all the obtained Go version data

type Installed added in v0.3.0

type Installed struct {
	// contains filtered or unexported fields
}

func (*Installed) RemoveInstalled added in v0.3.0

func (i *Installed) RemoveInstalled()

CheckInstalled function obtains the data for any installed Go version and its install PATH (GOROOT)

Jump to

Keyboard shortcuts

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