os

package
v0.0.0-...-c87aca2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Exit = os.Exit

Exit causes the current program to exit with the given status code. Conventionally, code zero indicates success, non-zero an error. The program terminates immediately; deferred functions are not run.

View Source
var Getenv = os.Getenv

Getenv retrieves the value of the environment variable named by the key. It returns the value, which will be empty if the variable is not present. To distinguish between an empty value and an unset value, use LookupEnv.

View Source
var Hostname = os.Hostname

Hostname returns the host name reported by the kernel.

View Source
var Link = os.Link

Link creates newname as a hard link to the oldname file. If there is an error, it will be of type *LinkError.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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