platform

package
v2.38.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: MIT Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandEnv

func ExpandEnv(s string) string

func LineSeparator

func LineSeparator() string

func NormalizeEnvName

func NormalizeEnvName(name string) string

Types

type EnvFlag

type EnvFlag struct {
	Name    string
	AltName string
}

func (EnvFlag) GetValue

func (f EnvFlag) GetValue(defaultValue string) string

func (EnvFlag) GetValueAsInt

func (f EnvFlag) GetValueAsInt(defaultValue int) int

Jump to

Keyboard shortcuts

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