Documentation ¶ Index ¶ type Bytes func (f *Bytes) Set(s string) error func (f Bytes) String() string func (f Bytes) Type() string type Enum func NewEnum[T any](v *T, f func(string) (T, bool)) *Enum[T] func (f *Enum[T]) Set(s string) error func (f *Enum[T]) String() string func (f *Enum[T]) Type() string type Time func (t *Time) Set(s string) error func (t *Time) String() string func (t *Time) Type() string type Url func (f Url) Set(s string) error func (f Url) String() string func (f Url) Type() string type UrlSlice func (f *UrlSlice) Set(s string) error func (f *UrlSlice) String() string func (f *UrlSlice) Type() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bytes ¶ added in v0.6.2 type Bytes []byte func (*Bytes) Set ¶ added in v0.6.2 func (f *Bytes) Set(s string) error func (Bytes) String ¶ added in v0.6.2 func (f Bytes) String() string func (Bytes) Type ¶ added in v0.6.2 func (f Bytes) Type() string type Enum ¶ type Enum[T any] struct { V *T F func(string) (T, bool) } func NewEnum ¶ func NewEnum[T any](v *T, f func(string) (T, bool)) *Enum[T] func (*Enum[T]) Set ¶ func (f *Enum[T]) Set(s string) error func (*Enum[T]) String ¶ func (f *Enum[T]) String() string func (*Enum[T]) Type ¶ func (f *Enum[T]) Type() string type Time ¶ added in v0.6.2 type Time struct { Value *time.Time } func (*Time) Set ¶ added in v0.6.2 func (t *Time) Set(s string) error func (*Time) String ¶ added in v0.6.2 func (t *Time) String() string func (*Time) Type ¶ added in v0.6.2 func (t *Time) Type() string type Url ¶ type Url struct { V **url.URL } func (Url) Set ¶ func (f Url) Set(s string) error func (Url) String ¶ func (f Url) String() string func (Url) Type ¶ func (f Url) Type() string type UrlSlice ¶ added in v0.6.0 type UrlSlice []*url.URL func (*UrlSlice) Set ¶ added in v0.6.0 func (f *UrlSlice) Set(s string) error func (*UrlSlice) String ¶ added in v0.6.0 func (f *UrlSlice) String() string func (*UrlSlice) Type ¶ added in v0.6.0 func (f *UrlSlice) Type() string Source Files ¶ View all Source files flags.go Click to show internal directories. Click to hide internal directories.