runtime

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Executable

func Executable() (string, error)

func GoPath

func GoPath() string

func RandomRevision

func RandomRevision(baseOn time.Time) string

Types

type Runtime

type Runtime struct {
	Name      string
	Version   string
	Revision  string
	Built     time.Time
	GoVersion string
	GOOS      string
	GOARCH    string
}

func GetRuntime

func GetRuntime() Runtime

func (Runtime) LongVersion

func (instance Runtime) LongVersion() string

func (Runtime) ShortString

func (instance Runtime) ShortString() string

func (Runtime) String

func (instance Runtime) String() string

Jump to

Keyboard shortcuts

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