Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDecoding = errors.New("decoding output error")
)
Functions ¶
This section is empty.
Types ¶
type DefaultDecoder ¶
type DefaultDecoder struct {
// contains filtered or unexported fields
}
func NewDefaultDecoder ¶
func NewDefaultDecoder() *DefaultDecoder
func (*DefaultDecoder) Decode ¶
func (d *DefaultDecoder) Decode(input string) (interface{}, error)
type JSONDecoder ¶
type JSONDecoder struct {
// contains filtered or unexported fields
}
func NewJSONDecoder ¶
func NewJSONDecoder(output interface{}) *JSONDecoder
func (*JSONDecoder) Decode ¶
func (d *JSONDecoder) Decode(input string) (interface{}, error)
type RegExDecoder ¶
type RegExDecoder struct {
// contains filtered or unexported fields
}
func NewRegExDecoder ¶
func NewRegExDecoder(regex string) *RegExDecoder
func (*RegExDecoder) Decode ¶
func (d *RegExDecoder) Decode(input string) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.