queryUtils

package
v0.0.0-...-add256a Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoundaryQuery

func BoundaryQuery(content string, boundaryStart, boundaryEnd string, boundaryIndex int, boundaryIncluded bool) (
	result string)

func GetExpressionForXpathSelector

func GetExpressionForXpathSelector(str string) (expression, propName string)

func HtmlQuery

func HtmlQuery(content string, expression string) (result string)

func JsonPath

func JsonPath(content string, expression string) (result interface{}, resultType consts.ExtractorResultType, err error)

func JsonQuery

func JsonQuery(content string, expression string) (result interface{}, resultType consts.ExtractorResultType)

func JsonQueryWithType

func JsonQueryWithType(content string, expression string) (result interface{})

func RegxQuery

func RegxQuery(content string, expr string) (result string)

func XmlQuery

func XmlQuery(content string, expression string) (result string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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