Documentation
¶
Index ¶
- Constants
- Variables
- func Clamp[T cmp.Ordered](z T, a T, b T) T
- func ConsoleLogger(e Event)
- func FormatExponent(str string) string
- func FormatItems(items []Item) []string
- func FormatList(vals []string) string
- func IsFloatErr(c Calc, f float64) bool
- func IsValuePrefix(ch rune, next rune) bool
- func PreParseDecimal(str string) string
- func PreParseInt(str string) string
- func ScanWords(line string) []scan.Token
- func Strings(xs ...any) []string
- func TestLogger(t *testing.T) func(Event)
- type AngleDMSType
- func (t AngleDMSType) AppName() string
- func (t AngleDMSType) As(a any) types.AngleDMS
- func (t AngleDMSType) Dup(a any) any
- func (t AngleDMSType) Format(_ coll.State, a any) string
- func (t AngleDMSType) GoName() string
- func (t AngleDMSType) Name() string
- func (t AngleDMSType) Parse(state coll.State, str string) (any, bool, error)
- func (t AngleDMSType) Pop(c Calc) types.AngleDMS
- func (t AngleDMSType) Push(c Calc, val types.AngleDMS)
- type AnyType
- type BigFloatType
- func (t BigFloatType) AppName() string
- func (t BigFloatType) As(a any) *big.Float
- func (t BigFloatType) Dup(a any) any
- func (t BigFloatType) Format(_ coll.State, a any) string
- func (t BigFloatType) GoName() string
- func (t BigFloatType) Name() string
- func (t BigFloatType) New(prec uint) *big.Float
- func (t BigFloatType) Parse(st coll.State, str string) (any, bool, error)
- func (t BigFloatType) Pop(c Calc) *big.Float
- func (t BigFloatType) Push(c Calc, val *big.Float)
- func (t BigFloatType) Recycle(vals ...*big.Float)
- type BigIntType
- func (t BigIntType) AppName() string
- func (t BigIntType) As(a any) *big.Int
- func (t BigIntType) Dup(a any) any
- func (t BigIntType) Format(_ coll.State, a any) string
- func (t BigIntType) GoName() string
- func (t BigIntType) Name() string
- func (t BigIntType) New() *big.Int
- func (t BigIntType) Parse(_ coll.State, str string) (any, bool, error)
- func (t BigIntType) Pop(c Calc) *big.Int
- func (t BigIntType) Push(c Calc, val *big.Int)
- func (t BigIntType) Recycle(vals ...*big.Int)
- type BoolType
- func (t BoolType) AppName() string
- func (t BoolType) As(a any) bool
- func (t BoolType) Dup(a any) any
- func (t BoolType) Format(_ coll.State, a any) string
- func (t BoolType) GoName() string
- func (t BoolType) Name() string
- func (t BoolType) Parse(_ coll.State, str string) (any, bool, error)
- func (t BoolType) Pop(c Calc) bool
- func (t BoolType) Push(c Calc, val bool)
- type Calc
- type Catalog
- type Category
- type ComplexType
- func (t ComplexType) AppName() string
- func (t ComplexType) As(a any) complex128
- func (t ComplexType) Dup(a any) any
- func (t ComplexType) Format(_ coll.State, a any) string
- func (t ComplexType) GoName() string
- func (t ComplexType) Name() string
- func (t ComplexType) Parse(_ coll.State, str string) (any, bool, error)
- func (t ComplexType) Pop(c Calc) complex128
- func (t ComplexType) Push(c Calc, val complex128)
- type DataType
- func (t DataType) AppName() string
- func (t DataType) As(a any) *bytes.Buffer
- func (t DataType) Dup(a any) any
- func (t DataType) Format(_ coll.State, a any) string
- func (t DataType) GoName() string
- func (t DataType) Name() string
- func (t DataType) New() *bytes.Buffer
- func (t DataType) Parse(_ coll.State, str string) (any, bool, error)
- func (t DataType) Pop(c Calc) *bytes.Buffer
- func (t DataType) Push(c Calc, val *bytes.Buffer)
- func (t DataType) Recycle(vals ...*bytes.Buffer)
- type DateTimeType
- func (t DateTimeType) AppName() string
- func (t DateTimeType) As(a any) time.Time
- func (t DateTimeType) Dup(a any) any
- func (t DateTimeType) Format(state coll.State, a any) string
- func (t DateTimeType) GoName() string
- func (t DateTimeType) Name() string
- func (t DateTimeType) Parse(state coll.State, str string) (any, bool, error)
- func (t DateTimeType) Pop(c Calc) time.Time
- func (t DateTimeType) Push(c Calc, val time.Time)
- type DateType
- func (t DateType) AppName() string
- func (t DateType) As(a any) time.Time
- func (t DateType) Dup(a any) any
- func (t DateType) Format(state coll.State, a any) string
- func (t DateType) GoName() string
- func (t DateType) Name() string
- func (t DateType) Parse(state coll.State, str string) (any, bool, error)
- func (t DateType) Pop(c Calc) time.Time
- func (t DateType) Push(c Calc, val time.Time)
- type DecimalType
- func (t DecimalType) AppName() string
- func (t DecimalType) As(a any) *apd.Decimal
- func (t DecimalType) Dup(a any) any
- func (t DecimalType) Format(_ coll.State, a any) string
- func (t DecimalType) GoName() string
- func (t DecimalType) Name() string
- func (t DecimalType) New() *apd.Decimal
- func (t DecimalType) Parse(state coll.State, str string) (any, bool, error)
- func (t DecimalType) Pop(c Calc) *apd.Decimal
- func (t DecimalType) Push(c Calc, val *apd.Decimal)
- func (t DecimalType) Recycle(vals ...*apd.Decimal)
- type DurationType
- func (t DurationType) AppName() string
- func (t DurationType) As(a any) time.Duration
- func (t DurationType) Dup(a any) any
- func (t DurationType) Format(_ coll.State, a any) string
- func (t DurationType) GoName() string
- func (t DurationType) Name() string
- func (t DurationType) Parse(_ coll.State, str string) (any, bool, error)
- func (t DurationType) Pop(c Calc) time.Duration
- func (t DurationType) Push(c Calc, val time.Duration)
- type Event
- type Expect
- type Float32Type
- func (t Float32Type) AppName() string
- func (t Float32Type) As(a any) float32
- func (t Float32Type) Dup(a any) any
- func (t Float32Type) Format(_ coll.State, a any) string
- func (t Float32Type) GoName() string
- func (t Float32Type) Name() string
- func (t Float32Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Float32Type) Pop(c Calc) float32
- func (t Float32Type) Push(c Calc, val float32)
- type Float64Type
- func (t Float64Type) AppName() string
- func (t Float64Type) As(a any) float64
- func (t Float64Type) Dup(a any) any
- func (t Float64Type) Format(_ coll.State, a any) string
- func (t Float64Type) GoName() string
- func (t Float64Type) Name() string
- func (t Float64Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Float64Type) Pop(c Calc) float64
- func (t Float64Type) Push(c Calc, val float64)
- type Func
- type FuncDef
- type Int16Type
- func (t Int16Type) AppName() string
- func (t Int16Type) As(a any) int16
- func (t Int16Type) Dup(a any) any
- func (t Int16Type) Format(_ coll.State, a any) string
- func (t Int16Type) GoName() string
- func (t Int16Type) Name() string
- func (t Int16Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Int16Type) Pop(c Calc) int16
- func (t Int16Type) Push(c Calc, val int16)
- type Int32Type
- func (t Int32Type) AppName() string
- func (t Int32Type) As(a any) int32
- func (t Int32Type) Dup(a any) any
- func (t Int32Type) Format(_ coll.State, a any) string
- func (t Int32Type) GoName() string
- func (t Int32Type) Name() string
- func (t Int32Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Int32Type) Pop(c Calc) int32
- func (t Int32Type) Push(c Calc, val int32)
- type Int64Type
- func (t Int64Type) AppName() string
- func (t Int64Type) As(a any) int64
- func (t Int64Type) Dup(a any) any
- func (t Int64Type) Format(_ coll.State, a any) string
- func (t Int64Type) GoName() string
- func (t Int64Type) Name() string
- func (t Int64Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Int64Type) Pop(c Calc) int64
- func (t Int64Type) Push(c Calc, val int64)
- type Int8Type
- func (t Int8Type) AppName() string
- func (t Int8Type) As(a any) int8
- func (t Int8Type) Dup(a any) any
- func (t Int8Type) Format(_ coll.State, a any) string
- func (t Int8Type) GoName() string
- func (t Int8Type) Name() string
- func (t Int8Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Int8Type) Pop(c Calc) int8
- func (t Int8Type) Push(c Calc, val int8)
- type IntType
- func (t IntType) AppName() string
- func (t IntType) As(a any) int
- func (t IntType) Dup(a any) any
- func (t IntType) Format(_ coll.State, a any) string
- func (t IntType) GoName() string
- func (t IntType) Name() string
- func (t IntType) Parse(_ coll.State, str string) (any, bool, error)
- func (t IntType) Pop(c Calc) int
- func (t IntType) Push(c Calc, val int)
- type Item
- type Listener
- type Macro
- type Op
- type OpDef
- type OpEvent
- type RatType
- func (t RatType) AppName() string
- func (t RatType) As(a any) *big.Rat
- func (t RatType) Dup(a any) any
- func (t RatType) Format(_ coll.State, a any) string
- func (t RatType) GoName() string
- func (t RatType) Name() string
- func (t RatType) New() *big.Rat
- func (t RatType) Parse(_ coll.State, str string) (any, bool, error)
- func (t RatType) Pop(c Calc) *big.Rat
- func (t RatType) Push(c Calc, val *big.Rat)
- func (t RatType) Recycle(vals ...*big.Rat)
- type RealType
- type StackEvent
- type State
- type StringType
- func (t StringType) AppName() string
- func (t StringType) As(a any) string
- func (t StringType) Dup(a any) any
- func (t StringType) Format(_ coll.State, a any) string
- func (t StringType) GoName() string
- func (t StringType) Name() string
- func (t StringType) Parse(_ coll.State, str string) (any, bool, error)
- func (t StringType) Pop(c Calc) string
- func (t StringType) Push(c Calc, val string)
- type Test
- type TimeType
- func (t TimeType) AppName() string
- func (t TimeType) As(a any) time.Time
- func (t TimeType) Dup(a any) any
- func (t TimeType) Format(state coll.State, a any) string
- func (t TimeType) GoName() string
- func (t TimeType) Name() string
- func (t TimeType) Parse(state coll.State, str string) (any, bool, error)
- func (t TimeType) Pop(c Calc) time.Time
- func (t TimeType) Push(c Calc, val time.Time)
- type Type
- type Uint16Type
- func (t Uint16Type) AppName() string
- func (t Uint16Type) As(a any) uint16
- func (t Uint16Type) Dup(a any) any
- func (t Uint16Type) Format(_ coll.State, a any) string
- func (t Uint16Type) GoName() string
- func (t Uint16Type) Name() string
- func (t Uint16Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Uint16Type) Pop(c Calc) uint16
- func (t Uint16Type) Push(c Calc, val uint16)
- type Uint32Type
- func (t Uint32Type) AppName() string
- func (t Uint32Type) As(a any) uint32
- func (t Uint32Type) Dup(a any) any
- func (t Uint32Type) Format(_ coll.State, a any) string
- func (t Uint32Type) GoName() string
- func (t Uint32Type) Name() string
- func (t Uint32Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Uint32Type) Pop(c Calc) uint32
- func (t Uint32Type) Push(c Calc, val uint32)
- type Uint64Type
- func (t Uint64Type) AppName() string
- func (t Uint64Type) As(a any) uint64
- func (t Uint64Type) Dup(a any) any
- func (t Uint64Type) Format(_ coll.State, a any) string
- func (t Uint64Type) GoName() string
- func (t Uint64Type) Name() string
- func (t Uint64Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Uint64Type) Pop(c Calc) uint64
- func (t Uint64Type) Push(c Calc, val uint64)
- type Uint8Type
- func (t Uint8Type) AppName() string
- func (t Uint8Type) As(a any) uint8
- func (t Uint8Type) Dup(a any) any
- func (t Uint8Type) Format(_ coll.State, a any) string
- func (t Uint8Type) GoName() string
- func (t Uint8Type) Name() string
- func (t Uint8Type) Parse(_ coll.State, str string) (any, bool, error)
- func (t Uint8Type) Pop(c Calc) uint8
- func (t Uint8Type) Push(c Calc, val uint8)
- type UintType
- func (t UintType) AppName() string
- func (t UintType) As(a any) uint
- func (t UintType) Dup(a any) any
- func (t UintType) Format(_ coll.State, a any) string
- func (t UintType) GoName() string
- func (t UintType) Name() string
- func (t UintType) Parse(_ coll.State, str string) (any, bool, error)
- func (t UintType) Pop(c Calc) uint
- func (t UintType) Push(c Calc, val uint)
- type Vol
- type VolDef
Constants ¶
const ( TokenValue = "value" TokenName = "name" )
const ( PrecFloat128 = 113 PrecDec = vars.DefaultDecPrec )
const DefsDir = "app/defs"
Variables ¶
var ( AngleDMS = AngleDMSType{} Any = AnyType{} BigFloat = BigFloatType{} BigInt = BigIntType{} Bool = BoolType{} Complex = ComplexType{} Data = DataType{} Date = DateType{} DateTime = DateTimeType{} Decimal = DecimalType{} Duration = DurationType{} Float64 = Float64Type{} Float32 = Float32Type{} Int = IntType{} Int8 = Int8Type{} Int16 = Int16Type{} Int32 = Int32Type{} Int64 = Int64Type{} Rat = RatType{} Real = RealType{} String = StringType{} Time = TimeType{} Uint = UintType{} Uint8 = Uint8Type{} Uint16 = Uint16Type{} Uint32 = Uint32Type{} Uint64 = Uint64Type{} )
var Categories = []Category{
{ID: "calc", Title: "Calculator Operations"},
{ID: "unit", Title: "Units of Measure"},
{ID: "lib", Title: "Library"},
{ID: "tab", Title: "Tables"},
}
var Defs embed.FS
Functions ¶
func ConsoleLogger ¶
func ConsoleLogger(e Event)
func FormatExponent ¶
func FormatItems ¶
func FormatList ¶
func IsFloatErr ¶
func IsValuePrefix ¶
func PreParseDecimal ¶
func PreParseInt ¶
func TestLogger ¶
Types ¶
type AngleDMSType ¶
type AngleDMSType struct{}
----------------------------------------------------------------------------
func (AngleDMSType) AppName ¶
func (t AngleDMSType) AppName() string
func (AngleDMSType) Dup ¶
func (t AngleDMSType) Dup(a any) any
func (AngleDMSType) GoName ¶
func (t AngleDMSType) GoName() string
func (AngleDMSType) Name ¶
func (t AngleDMSType) Name() string
type AnyType ¶
type AnyType struct{}
----------------------------------------------------------------------------
type BigFloatType ¶
type BigFloatType struct{}
----------------------------------------------------------------------------
func (BigFloatType) AppName ¶
func (t BigFloatType) AppName() string
func (BigFloatType) Dup ¶
func (t BigFloatType) Dup(a any) any
func (BigFloatType) GoName ¶
func (t BigFloatType) GoName() string
func (BigFloatType) Name ¶
func (t BigFloatType) Name() string
func (BigFloatType) Recycle ¶
func (t BigFloatType) Recycle(vals ...*big.Float)
type BigIntType ¶
type BigIntType struct{}
----------------------------------------------------------------------------
func (BigIntType) AppName ¶
func (t BigIntType) AppName() string
func (BigIntType) Dup ¶
func (t BigIntType) Dup(a any) any
func (BigIntType) GoName ¶
func (t BigIntType) GoName() string
func (BigIntType) Name ¶
func (t BigIntType) Name() string
func (BigIntType) New ¶
func (t BigIntType) New() *big.Int
func (BigIntType) Recycle ¶
func (t BigIntType) Recycle(vals ...*big.Int)
type BoolType ¶
type BoolType struct{}
----------------------------------------------------------------------------
type Calc ¶
type Calc interface { Push(...Item) Pop() Item Stack() []Item SetStack([]Item) Len() int String() string Var(string) (any, bool) NewVar(string, any) Notify(string, ...any) Raise(error) Label() string Unit() string SetLabel(string) SetUnit(string) Eval(string) error New() Calc Temp() []Item SetTemp([]Item) Store(string) Load(string) Reset() }
type Catalog ¶
type Catalog struct {
// contains filtered or unexported fields
}
func NewCatalog ¶
func NewCatalog() *Catalog
type ComplexType ¶
type ComplexType struct{}
----------------------------------------------------------------------------
func (ComplexType) AppName ¶
func (t ComplexType) AppName() string
func (ComplexType) As ¶
func (t ComplexType) As(a any) complex128
func (ComplexType) Dup ¶
func (t ComplexType) Dup(a any) any
func (ComplexType) GoName ¶
func (t ComplexType) GoName() string
func (ComplexType) Name ¶
func (t ComplexType) Name() string
func (ComplexType) Pop ¶
func (t ComplexType) Pop(c Calc) complex128
func (ComplexType) Push ¶
func (t ComplexType) Push(c Calc, val complex128)
type DataType ¶
type DataType struct{}
----------------------------------------------------------------------------
type DateTimeType ¶
type DateTimeType struct{}
----------------------------------------------------------------------------
func (DateTimeType) AppName ¶
func (t DateTimeType) AppName() string
func (DateTimeType) Dup ¶
func (t DateTimeType) Dup(a any) any
func (DateTimeType) GoName ¶
func (t DateTimeType) GoName() string
func (DateTimeType) Name ¶
func (t DateTimeType) Name() string
type DateType ¶
type DateType struct{}
----------------------------------------------------------------------------
type DecimalType ¶
type DecimalType struct{}
----------------------------------------------------------------------------
func (DecimalType) AppName ¶
func (t DecimalType) AppName() string
func (DecimalType) As ¶
func (t DecimalType) As(a any) *apd.Decimal
func (DecimalType) Dup ¶
func (t DecimalType) Dup(a any) any
func (DecimalType) GoName ¶
func (t DecimalType) GoName() string
func (DecimalType) Name ¶
func (t DecimalType) Name() string
func (DecimalType) New ¶
func (t DecimalType) New() *apd.Decimal
func (DecimalType) Pop ¶
func (t DecimalType) Pop(c Calc) *apd.Decimal
func (DecimalType) Push ¶
func (t DecimalType) Push(c Calc, val *apd.Decimal)
func (DecimalType) Recycle ¶
func (t DecimalType) Recycle(vals ...*apd.Decimal)
type DurationType ¶
type DurationType struct{}
----------------------------------------------------------------------------
func (DurationType) AppName ¶
func (t DurationType) AppName() string
func (DurationType) Dup ¶
func (t DurationType) Dup(a any) any
func (DurationType) GoName ¶
func (t DurationType) GoName() string
func (DurationType) Name ¶
func (t DurationType) Name() string
type Float32Type ¶
type Float32Type struct{}
----------------------------------------------------------------------------
func (Float32Type) AppName ¶
func (t Float32Type) AppName() string
func (Float32Type) As ¶
func (t Float32Type) As(a any) float32
func (Float32Type) Dup ¶
func (t Float32Type) Dup(a any) any
func (Float32Type) GoName ¶
func (t Float32Type) GoName() string
func (Float32Type) Name ¶
func (t Float32Type) Name() string
func (Float32Type) Pop ¶
func (t Float32Type) Pop(c Calc) float32
func (Float32Type) Push ¶
func (t Float32Type) Push(c Calc, val float32)
type Float64Type ¶
type Float64Type struct{}
----------------------------------------------------------------------------
func (Float64Type) AppName ¶
func (t Float64Type) AppName() string
func (Float64Type) As ¶
func (t Float64Type) As(a any) float64
func (Float64Type) Dup ¶
func (t Float64Type) Dup(a any) any
func (Float64Type) GoName ¶
func (t Float64Type) GoName() string
func (Float64Type) Name ¶
func (t Float64Type) Name() string
func (Float64Type) Pop ¶
func (t Float64Type) Pop(c Calc) float64
func (Float64Type) Push ¶
func (t Float64Type) Push(c Calc, val float64)
type Int16Type ¶
type Int16Type struct{}
----------------------------------------------------------------------------
type Int32Type ¶
type Int32Type struct{}
----------------------------------------------------------------------------
type Int64Type ¶
type Int64Type struct{}
----------------------------------------------------------------------------
type Int8Type ¶
type Int8Type struct{}
----------------------------------------------------------------------------
type IntType ¶
type IntType struct{}
----------------------------------------------------------------------------
type Item ¶
type OpDef ¶
type OpDef struct { Name string `yaml:"name"` Ident string `yaml:"ident"` Aliases []string `yaml:"aliases"` Title string `yaml:"title"` Subtitle string `yaml:"subtitle"` Stub bool `yaml:"stub"` Funcs []FuncDef `yaml:"funcs"` Macro string `yaml:"macro"` Desc string `yaml:"desc"` Example []Expect `yaml:"example"` Tests []Test `yaml:"tests"` }
type RatType ¶
type RatType struct{}
----------------------------------------------------------------------------
type RealType ¶
type RealType struct{}
----------------------------------------------------------------------------
type StackEvent ¶
type StackEvent struct {
// contains filtered or unexported fields
}
func NewStackEvent ¶
func NewStackEvent(c Calc, type_ string) StackEvent
func (StackEvent) String ¶
func (e StackEvent) String() string
func (StackEvent) Type ¶
func (e StackEvent) Type() string
type StringType ¶
type StringType struct{}
----------------------------------------------------------------------------
func (StringType) AppName ¶
func (t StringType) AppName() string
func (StringType) As ¶
func (t StringType) As(a any) string
func (StringType) Dup ¶
func (t StringType) Dup(a any) any
func (StringType) GoName ¶
func (t StringType) GoName() string
func (StringType) Name ¶
func (t StringType) Name() string
func (StringType) Pop ¶
func (t StringType) Pop(c Calc) string
func (StringType) Push ¶
func (t StringType) Push(c Calc, val string)
type TimeType ¶
type TimeType struct{}
----------------------------------------------------------------------------
type Uint16Type ¶
type Uint16Type struct{}
----------------------------------------------------------------------------
func (Uint16Type) AppName ¶
func (t Uint16Type) AppName() string
func (Uint16Type) As ¶
func (t Uint16Type) As(a any) uint16
func (Uint16Type) Dup ¶
func (t Uint16Type) Dup(a any) any
func (Uint16Type) GoName ¶
func (t Uint16Type) GoName() string
func (Uint16Type) Name ¶
func (t Uint16Type) Name() string
func (Uint16Type) Pop ¶
func (t Uint16Type) Pop(c Calc) uint16
func (Uint16Type) Push ¶
func (t Uint16Type) Push(c Calc, val uint16)
type Uint32Type ¶
type Uint32Type struct{}
----------------------------------------------------------------------------
func (Uint32Type) AppName ¶
func (t Uint32Type) AppName() string
func (Uint32Type) As ¶
func (t Uint32Type) As(a any) uint32
func (Uint32Type) Dup ¶
func (t Uint32Type) Dup(a any) any
func (Uint32Type) GoName ¶
func (t Uint32Type) GoName() string
func (Uint32Type) Name ¶
func (t Uint32Type) Name() string
func (Uint32Type) Pop ¶
func (t Uint32Type) Pop(c Calc) uint32
func (Uint32Type) Push ¶
func (t Uint32Type) Push(c Calc, val uint32)
type Uint64Type ¶
type Uint64Type struct{}
----------------------------------------------------------------------------
func (Uint64Type) AppName ¶
func (t Uint64Type) AppName() string
func (Uint64Type) As ¶
func (t Uint64Type) As(a any) uint64
func (Uint64Type) Dup ¶
func (t Uint64Type) Dup(a any) any
func (Uint64Type) GoName ¶
func (t Uint64Type) GoName() string
func (Uint64Type) Name ¶
func (t Uint64Type) Name() string
func (Uint64Type) Pop ¶
func (t Uint64Type) Pop(c Calc) uint64
func (Uint64Type) Push ¶
func (t Uint64Type) Push(c Calc, val uint64)
type Uint8Type ¶
type Uint8Type struct{}
----------------------------------------------------------------------------
type UintType ¶
type UintType struct{}
----------------------------------------------------------------------------
type VolDef ¶
type VolDef struct { Name string `yaml:"name"` Ident string `yaml:"ident"` Title string `yaml:"title"` Subtitle string `yaml:"subtitle"` Category string `yaml:"category"` NoIndex bool `yaml:"no-index"` Setup []string `yaml:"setup"` Ops []OpDef `yaml:"ops"` Table [][]string `yaml:"table"` Overview string }