os

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package os extends the os package in the stdlib.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultEnv added in v0.8.0

func DefaultEnv(key string, def string) string

DefaultEnv retrieves the value of the environment variable named by the key.

If the variable is not present in the environment a default value is returned.

func MustEnv

func MustEnv(key string) string

MustEnv retrieves the value of the environment variable named by the key.

If the variable is not present in the environment a panic is initiated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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