Versions in this module Expand all Collapse all v1 v1.13.12 Feb 9, 2025 Changes in this version + const GopPackage + func Getenv(env []string, name string) string + func Gopt_App_Main(a interface{ ... }) + func Setenv(ret []string, env map[string]string) []string + type App struct + func (p *App) Capout(doSth func()) (string, error) + func (p *App) Exec(env map[string]string, name string, args ...string) error + func (p *App) ExitCode() int + func (p *App) Gop_Env(key string) string + func (p *App) Gop_Exec(name string, args ...string) error + func (p *App) LastErr() error + func (p *App) Output() string + type OS interface + Environ func() []string + ExpandEnv func(s string) string + Getenv func(key string) string + Run func(c *exec.Cmd) error + var Sys OS = defaultOS{}