Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringToStringValue ¶
type StringToStringValue struct {
// contains filtered or unexported fields
}
StringToStringValue flag.
func NewStringToStringValue ¶
func NewStringToStringValue(p *map[string]string, value map[string]string) *StringToStringValue
NewStringToStringValue creates new flag with init map, default value and comma separator.
func (*StringToStringValue) Set ¶
func (s *StringToStringValue) Set(val string) error
Set value in format: a=1,b=2
func (*StringToStringValue) SetSeparator ¶
func (s *StringToStringValue) SetSeparator(separator string)
SetSeparator changes separator.
func (*StringToStringValue) String ¶
func (s *StringToStringValue) String() string
func (*StringToStringValue) Type ¶
func (s *StringToStringValue) Type() string
Type returns type of value.
Click to show internal directories.
Click to hide internal directories.