Documentation ¶
Index ¶
- Constants
- func CSSQuery(reader io.Reader, writer io.Writer, query string, attr string, ...) error
- func FormatHtml(reader io.Reader, writer io.Writer, indent string, colors int) error
- func FormatJson(reader io.Reader, writer io.Writer, indent string, colors int) error
- func FormatXml(reader io.Reader, writer io.Writer, indent string, colors int) error
- func IsHTML(input string) bool
- func IsJSON(input string) bool
- func PagerPrint(reader io.Reader, writer io.Writer) error
- func XPathQuery(reader io.Reader, writer io.Writer, query string, singleNode bool, ...) (errRes error)
- type ContentType
- type QueryOptions
Constants ¶
View Source
const ( ColorsDefault = iota ColorsForced ColorsDisabled )
Variables ¶
This section is empty.
Functions ¶
func FormatHtml ¶ added in v1.0.0
func FormatJson ¶ added in v1.2.0
func XPathQuery ¶
Types ¶
type ContentType ¶ added in v1.2.0
type ContentType int
const ( ContentXml ContentType = iota ContentHtml ContentJson ContentText )
type QueryOptions ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.