Documentation
¶
Overview ¶
Package sys provides access to args and environment variables.
Index ¶
- func Arg(i int) (string, bool)
- func ExecutablePath() string
- func GetEnv(name string) string
- func LookupEnv(name string) (value string, found bool)
- type ArgIter
- type Auxv
- type AuxvIter
- type EnvIter
- func (it EnvIter) Get(name string) (value string)
- func (i EnvIter) Len() int
- func (EnvIter) Less(i, j int) bool
- func (it EnvIter) Lookup(name string) (value string, found bool)
- func (it EnvIter) Nth(i int) (env string, ok bool)
- func (i EnvIter) SliceFrom(start int) EnvIter
- func (EnvIter) Swap(i, j int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutablePath ¶
func ExecutablePath() string
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.