Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2021 Changes in this version + type Argument struct + Ellipsis bool + Index uint64 + Type Typ + func (a Argument) Accept(v Visitor) error + type Command struct + Context bool + Definition string + Doc string + Function string + Package string + Parameters []Parameter + Results []string + func (c Command) Accept(v Visitor) error + type Flag struct + Default interface{} + Deprecated bool + Doc string + Full string + Hidden bool + Short string + Type Typ + func (f Flag) Accept(v Visitor) error + type Group struct + Doc string + Flags []Flag + Name string + Type Typ + func (g Group) Accept(v Visitor) error + type Kind uint8 + const Array + const Bool + const Chan + const Complex128 + const Complex64 + const Float32 + const Float64 + const Func + const Int + const Int16 + const Int32 + const Int64 + const Int8 + const Interface + const Invalid + const Map + const Ptr + const Slice + const String + const Struct + const Uint + const Uint16 + const Uint32 + const Uint64 + const Uint8 + const UnsafePointer + func (k Kind) Base() int16 + func (k Kind) Default() interface{} + func (k Kind) Type() string + type Parameter interface + Accept func(Visitor) error + type Placeholder struct + Type Typ + func (p Placeholder) Accept(v Visitor) error + type TArray struct + ETyp Typ + Size int64 + func (TArray) Kind() Kind + func (t TArray) Format(v interface{}) string + func (t TArray) Type() string + type TMap struct + KTyp Typ + VTyp Typ + func (TMap) Kind() Kind + func (t TMap) Format(v interface{}) string + func (t TMap) Type() string + type TPrimitive struct + TKind Kind + func (t TPrimitive) Format(v interface{}) string + func (t TPrimitive) Kind() Kind + func (t TPrimitive) Type() string + type TPtr struct + ETyp Typ + func (TPtr) Kind() Kind + func (t TPtr) Format(v interface{}) string + func (t TPtr) Type() string + type TSlice struct + ETyp Typ + func (TSlice) Kind() Kind + func (t TSlice) Format(v interface{}) string + func (t TSlice) Type() string + type TStruct struct + Typ string + func (TStruct) Kind() Kind + func (t TStruct) Format(v interface{}) string + func (t TStruct) Type() string + type Typ interface + Format func(interface{}) string + Kind func() Kind + Type func() string + type Visitor interface + VisitArgument func(Argument) error + VisitFlag func(Flag, *Group) error + VisitPlaceholder func(Placeholder) error