Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapStringStringFlag

type MapStringStringFlag struct {
	Values map[string]string
}

    MapStringStringFlag is a flag struct for key=value pairs

    func NewMapStringStringFlag

    func NewMapStringStringFlag() MapStringStringFlag

      NewMapStringStringFlag creates a new flag var for storing key=value pairs

      func (*MapStringStringFlag) Set

      func (s *MapStringStringFlag) Set(value string) error

        Set implements the flag.Var interface

        func (*MapStringStringFlag) String

        func (s *MapStringStringFlag) String() string

          String implements the flag.Var interface

          func (*MapStringStringFlag) ToMapStringString

          func (s *MapStringStringFlag) ToMapStringString() map[string]string

            ToMapStringString returns the underlying representation of the map of key=value pairs

            Source Files