Help us shape the future of Go! Take the 2026 Go Developer Survey

extraction

package
v0.16.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

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 ExtractFromJson(source interface{}, jsonPath string) (interface{}, error)

func ExtractFromXml

func ExtractFromXml(source interface{}, xPath string) (interface{}, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL