Documentation
¶
Index ¶
Constants ¶
View Source
const ( SetterPolicyAppend = SetterPolicy(iota) SetterPolicyReset )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
type Flag[ T schnittstellen.ValueLike, TPtr flagPtr[T], ] interface { flag.Value SetMany(vs ...string) (err error) GetSet() schnittstellen.SetLike[T] GetMutableSet() schnittstellen.MutableSetLike[T] }
func MakeFlagCommas ¶
func MakeFlagCommas[ T schnittstellen.ValueLike, TPtr flagPtr[T], ](p SetterPolicy, ) Flag[T, TPtr]
func MakeFlagCommasFromExisting ¶
func MakeFlagCommasFromExisting[ T schnittstellen.ValueLike, TPtr flagPtr[T], ]( p SetterPolicy, existing *schnittstellen.SetLike[T], ) Flag[T, TPtr]
type SetterPolicy ¶
type SetterPolicy int
Click to show internal directories.
Click to hide internal directories.