Documentation ¶
Index ¶
- type Pair
- func (p *Pair) BoolValue() (bool, error)
- func (p *Pair) HasKey() bool
- func (p *Pair) HasValue() bool
- func (p *Pair) IntValue() (int, error)
- func (p *Pair) NoKey() bool
- func (p *Pair) NoValue() bool
- func (p *Pair) String() string
- func (p *Pair) Trim() *Pair
- func (p *Pair) TrimQuote() bool
- func (p *Pair) ValueOrKey() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
Pair represent a key-value pair
func ParsePairWith ¶
ParsePairWith seperate string use given function
func (*Pair) ValueOrKey ¶
ValueOrKey return value when value is not "", otherwise return key
Click to show internal directories.
Click to hide internal directories.