Versions in this module Expand all Collapse all v2 v2.0.1 May 6, 2022 Changes in this version + const LogFlags + const RpcNet — linux/amd64 + const ServiceTimeout + const ThisBuildId — linux/amd64 + var BuiltIn = Selection + var Fatal = log.Fatal + var LangPrecedence = []LANG + var Page = sync.Pool + var PageSz = os.Getpagesize() + var Prog = filepath.Base(os.Args[0]) + var RpcAddr = "@" + Prog — linux/amd64 + var TerminationSignals = []os.Signal — linux/amd64 + func Cat(ctx context.Context, args ...string) error + func CompleteFiles(args []string) (c []string) + func CompleteFlags(fs *flag.FlagSet, args []string) (c []string) + func CompleteInterfaces(args []string) (c []string) + func CompleteStrings(l []string, args []string) (c []string) + func Echo(ctx context.Context, args ...string) error + func ErrorfWith(ctx context.Context, format string, args ...interface{}) error + func Hereby(ctx context.Context, args []string) (context.Context, []string) + func Herein(ctx context.Context, args []string) (context.Context, []string) + func LastArg(args []string) (s string) + func Listen() (net.Listener, error) + func PathOf(ctx context.Context) []string + func PlainLog() + func Preempt(ctx context.Context, args []string) (context.Context, []string) + func Preemption(ctx context.Context) string + func RPC(ctx context.Context, args ...string) error + func StyleLog() + func Usage(ctx context.Context, args ...interface{}) + func UsageOf(ctx context.Context) func() + func WithInput(ctx context.Context, r io.Reader) context.Context + func WithOutput(ctx context.Context, w io.Writer) context.Context + func WithPath(ctx context.Context, name string) context.Context + func WithRoot(ctx context.Context, m Selection) context.Context + func WithUsage(ctx context.Context, f func()) context.Context + type BuildId string + func (proc BuildId) MarshalText() ([]byte, error) + func (proc BuildId) String() string + type EmbeddedFile struct + FS embed.FS + Path string + func (f EmbeddedFile) Bytes() []byte + func (f EmbeddedFile) Show(ctx context.Context, _ ...string) error + func (f EmbeddedFile) String() string + type Func = func(context.Context, ...string) error + type Input struct + func InputOf(ctx context.Context) Input + func (in Input) Read(buf []byte) (int, error) + func (in Input) Value(k interface{}) interface{} + type LANG string + const AaDJ + const AfZA + const AnES + const ArAE + const ArBH + const ArDZ + const ArEG + const ArIQ + const ArJO + const ArKW + const ArLB + const ArLY + const ArMA + const ArOM + const ArQA + const ArSA + const ArSD + const ArSY + const ArTN + const ArYE + const AstES + const BeBY + const BgBG + const BrFR + const BsBA + const CaAD + const CaES + const CaFR + const CaIT + const CsCZ + const CyGB + const DaDK + const DeAT + const DeBE + const DeCH + const DeDE + const DeLI + const DeLU + const ElCY + const ElGR + const EnAU + const EnBW + const EnCA + const EnDK + const EnGB + const EnHK + const EnIE + const EnNZ + const EnPH + const EnSG + const EnUS + const EnZA + const EnZW + const EsAR + const EsBO + const EsCL + const EsCO + const EsCR + const EsDO + const EsEC + const EsES + const EsGT + const EsHN + const EsMX + const EsNI + const EsPA + const EsPE + const EsPR + const EsPY + const EsSV + const EsUS + const EsUY + const EsVE + const EtEE + const EuES + const EuFR + const FiFI + const FoFO + const FrBE + const FrCA + const FrCH + const FrFR + const FrLU + const GaIE + const GdGB + const GlES + const GvGB + const HeIL + const HrHR + const HsbDE + const HuHU + const IdID + const IsIS + const ItCH + const ItIT + const IwIL + const JaJP + const KaGE + const KkKZ + const KlGL + const KoKR + const KuTR + const KwGB + const LgUG + const LtLT + const LvLV + const MgMG + const MiNZ + const MkMK + const MsMY + const MtMT + const NbNO + const NlBE + const NlNL + const NnNO + const OcFR + const OmKE + const PlPL + const PtBR + const PtPT + const RoRO + const RuRU + const RuUA + const SkSK + const SlSI + const SoDJ + const SoKE + const SoSO + const SqAL + const StZA + const SvFI + const SvSE + const TgTJ + const ThTH + const TlPH + const TrCY + const TrTR + const UkUA + const UzUZ + const WaBE + const XhZA + const YiUS + const ZhCN + const ZhHK + const ZhSG + const ZhTW + const ZuZA + type Lang map[LANG]string + func (l Lang) String() string + type Output struct + func OutputOf(ctx context.Context) Output + func (o Output) Print(args ...interface{}) + func (o Output) Printf(format string, args ...interface{}) + func (o Output) Println(args ...interface{}) + func (o Output) ReadFrom(r io.Reader) (n int64, err error) + func (o Output) Value(k interface{}) interface{} + func (o Output) Write(data []byte) (int, error) + type Selection map[string]Func + func RootOf(ctx context.Context) Selection + func (m Selection) Keys() []string + func (m Selection) Main() + func (m Selection) Select(ctx context.Context, args ...string) error + func (m Selection) Service(ctx context.Context, wg *sync.WaitGroup, ln net.Listener) + type Service struct + func (svc *Service) Select(args []string, result *string) error + type Value struct + V interface{} + func (val Value) Show(ctx context.Context, _ ...string) error Other modules containing this package github.com/platinasystems/goes