platform

package
v3.17.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandEnv

func ExpandEnv(s string) string

func GetAssetLocation added in v1.1.0

func GetAssetLocation(file string) string

func GetConfigurationPath added in v1.1.0

func GetConfigurationPath() string

func GetPluginDirectory added in v1.1.0

func GetPluginDirectory() string

func GetToolLocation

func GetToolLocation(file string) string

func LineSeparator

func LineSeparator() string

func NormalizeEnvName added in v1.1.0

func NormalizeEnvName(name string) string

Types

type EnvFlag added in v1.1.0

type EnvFlag struct {
	Name    string
	AltName string
}

func (EnvFlag) GetValue added in v1.1.0

func (f EnvFlag) GetValue(defaultValue func() string) string

func (EnvFlag) GetValueAsInt added in v1.1.0

func (f EnvFlag) GetValueAsInt(defaultValue int) int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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