system

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package system provide system level operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoPath

func GoPath() string

GoPath returns either $GOPATH or the new $HOME/go path introduced with Go 1.8

func GoVersion

func GoVersion(logger *logrus.Logger) (string, error)

GoVersion returns the configured go version for this system

func RunOSCommand

func RunOSCommand(cmd *exec.Cmd, logger *logrus.Logger) error

RunOSCommand properly executes a system command and writes the output to the provided logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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