Versions in this module Expand all Collapse all v0 v0.1.15 Aug 12, 2022 v0.1.14 Aug 12, 2022 Changes in this version + var Names = []string + func Name(T Type) string + type BooT struct + func (b *BooT) FromString(s string) error + func (b *BooT) Set(bo bool) + func (b BooT) Bool() bool + func (b BooT) Duration() time.Duration + func (b BooT) Float() float64 + func (b BooT) Int() int64 + func (b BooT) List() []string + func (b BooT) Meta() *Metadata + func (b BooT) String() string + func (b BooT) Uint() uint64 + type Concrete interface + Bool func() bool + Duration func() time.Duration + Float func() float64 + Int func() int64 + List func() []string + String func() string + Uint func() uint64 + type Desc struct + Aliases []string + Default string + Description string + Documentation string + Group string + Name string + Type Type + type DurT struct + func (d *DurT) FromString(s string) error + func (d *DurT) Set(du time.Duration) + func (d DurT) Bool() bool + func (d DurT) Duration() time.Duration + func (d DurT) Float() float64 + func (d DurT) Int() int64 + func (d DurT) List() []string + func (d DurT) Meta() *Metadata + func (d DurT) String() string + func (d DurT) Uint() uint64 + type FltT struct + func (f *FltT) FromString(s string) error + func (f *FltT) Set(fl float64) + func (f FltT) Bool() bool + func (f FltT) Duration() time.Duration + func (f FltT) Float() float64 + func (f FltT) Int() int64 + func (f FltT) List() []string + func (f FltT) Meta() *Metadata + func (f FltT) String() string + func (f FltT) Uint() uint64 + type IntT struct + func (in *IntT) FromString(s string) error + func (in *IntT) Set(i int64) + func (in IntT) Bool() bool + func (in IntT) Duration() time.Duration + func (in IntT) Float() float64 + func (in IntT) Int() int64 + func (in IntT) List() []string + func (in IntT) Meta() *Metadata + func (in IntT) String() string + func (in IntT) Uint() uint64 + type Item interface + Aliases func() []string + Default func() string + Description func() string + Documentation func() string + FromString func(string) error + Group func() string + Meta func() *Metadata + Name func() string + Type func() Type + type LstT struct + func (l *LstT) FromString(s string) error + func (l *LstT) Set(li ...string) + func (l LstT) Bool() bool + func (l LstT) Duration() time.Duration + func (l LstT) Float() float64 + func (l LstT) Int() int64 + func (l LstT) List() (li []string) + func (l LstT) Meta() *Metadata + func (l LstT) String() (o string) + func (l LstT) Uint() uint64 + type Metadata struct + func New(args Desc) *Metadata + func (m *Metadata) Aliases() []string + func (m *Metadata) Default() string + func (m *Metadata) Description() string + func (m *Metadata) Documentation() string + func (m *Metadata) Group() string + func (m *Metadata) Name() string + func (m *Metadata) Type() Type + type StrT struct + func (s *StrT) FromString(st string) error + func (s *StrT) Set(st string) + func (s StrT) Bool() bool + func (s StrT) Duration() time.Duration + func (s StrT) Float() float64 + func (s StrT) Int() int64 + func (s StrT) List() []string + func (s StrT) Meta() *Metadata + func (s StrT) String() string + func (s StrT) Uint() uint64 + type Type int + const Bool + const Duration + const Float + const Int + const List + const String + const Uint + type UinT struct + func (u *UinT) FromString(s string) error + func (u *UinT) Set(ui uint64) + func (u UinT) Bool() bool + func (u UinT) Duration() time.Duration + func (u UinT) Float() float64 + func (u UinT) Int() int64 + func (u UinT) List() []string + func (u UinT) Meta() *Metadata + func (u UinT) String() string + func (u UinT) Uint() uint64