os

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentExecutable added in v1.2.0

func CurrentExecutable() (string, error)

func CurrentUser added in v1.28.0

func CurrentUser() (string, error)

Types

type OS

type OS string
const (
	LINUX   OS = "linux"
	DARWIN  OS = "darwin"
	WINDOWS OS = "windows"
)

func CurrentOS

func CurrentOS() OS

func (OS) String

func (t OS) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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