Documentation ¶
Index ¶
- func Extract(source interface{}, ce types.EnvCaptureConf) (val interface{}, err error)
- func ExtractFromJson(source interface{}, jsonPath string) (interface{}, error)
- func ExtractFromXml(source interface{}, xPath string) (interface{}, error)
- func ExtractWithRegex(source interface{}, regexConf types.RegexCaptureConf) (val interface{}, err error)
- type ExtractionError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
func Extract(source interface{}, ce types.EnvCaptureConf) (val interface{}, err error)
func ExtractFromJson ¶
func ExtractFromXml ¶
func ExtractWithRegex ¶
func ExtractWithRegex(source interface{}, regexConf types.RegexCaptureConf) (val interface{}, err error)
Types ¶
type ExtractionError ¶
type ExtractionError struct {
// contains filtered or unexported fields
}
func (ExtractionError) Error ¶
func (sc ExtractionError) Error() string
func (ExtractionError) Unwrap ¶
func (sc ExtractionError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.