Documentation ¶
Index ¶
- func ConfluenceStorageFormatter(node *html.Node) (string, bool)
- func ConfluenceViewFormatter(node *html.Node) (string, bool)
- func ContextAtom(atom atom.Atom) *html.Node
- func ContextElem(elem string) *html.Node
- func DefaultFormatter(node *html.Node) (string, bool)
- func MapSelection[T any](selection Selection, f func(Selection) (T, error)) ([]T, error)
- type Formatter
- type Selection
- func (selection Selection) AppendChild(nodes ...*html.Node)
- func (selection Selection) AppendNext(nodes ...*html.Node)
- func (selection Selection) AppendPrev(nodes ...*html.Node)
- func (selection Selection) Children() Selection
- func (selection Selection) Contains(selector Selector) bool
- func (selection Selection) Each(f func(Selection) error) error
- func (selection Selection) Filter(selector Selector) Selection
- func (selection Selection) Find(selector Selector) Selection
- func (selection Selection) FindAll(selector Selector) Selection
- func (selection Selection) First() Selection
- func (selection Selection) Get(index int) Selection
- func (selection Selection) Last() Selection
- func (selection Selection) Len() int
- func (selection Selection) MapBool(f func(Selection) (bool, error)) ([]bool, error)
- func (selection Selection) MapByte(f func(Selection) (byte, error)) ([]byte, error)
- func (selection Selection) MapBytes(f func(Selection) ([]byte, error)) ([][]byte, error)
- func (selection Selection) MapComplex128(f func(Selection) (complex128, error)) ([]complex128, error)
- func (selection Selection) MapComplex64(f func(Selection) (complex64, error)) ([]complex64, error)
- func (selection Selection) MapFloat32(f func(Selection) (float32, error)) ([]float32, error)
- func (selection Selection) MapFloat64(f func(Selection) (float64, error)) ([]float64, error)
- func (selection Selection) MapInt(f func(Selection) (int, error)) ([]int, error)
- func (selection Selection) MapInt16(f func(Selection) (int16, error)) ([]int16, error)
- func (selection Selection) MapInt32(f func(Selection) (int32, error)) ([]int32, error)
- func (selection Selection) MapInt64(f func(Selection) (int64, error)) ([]int64, error)
- func (selection Selection) MapInt8(f func(Selection) (int8, error)) ([]int8, error)
- func (selection Selection) MapRune(f func(Selection) (rune, error)) ([]rune, error)
- func (selection Selection) MapRunes(f func(Selection) ([]rune, error)) ([][]rune, error)
- func (selection Selection) MapString(f func(Selection) (string, error)) ([]string, error)
- func (selection Selection) MapUint(f func(Selection) (uint, error)) ([]uint, error)
- func (selection Selection) MapUint16(f func(Selection) (uint16, error)) ([]uint16, error)
- func (selection Selection) MapUint32(f func(Selection) (uint32, error)) ([]uint32, error)
- func (selection Selection) MapUint64(f func(Selection) (uint64, error)) ([]uint64, error)
- func (selection Selection) MapUint8(f func(Selection) (uint8, error)) ([]uint8, error)
- func (selection Selection) MapUintptr(f func(Selection) (uintptr, error)) ([]uintptr, error)
- func (selection Selection) Nodes() []*html.Node
- func (selection Selection) Parents() Selection
- func (selection Selection) Render(w io.Writer) error
- func (selection Selection) String() string
- func (selection Selection) Text(formatter Formatter) string
- type Selector
- func And(selector Selector, selectors ...Selector) Selector
- func Atom(atom atom.Atom) Selector
- func Attr(key string, val string) Selector
- func Class(class string) Selector
- func Elem(elem string) Selector
- func HasAttr(key string) Selector
- func ID(id string) Selector
- func Includes(selector1 Selector, selector2 ...Selector) Selector
- func Not(selector Selector) Selector
- func Or(selector Selector, selectors ...Selector) Selector
- func Tree(selector1 Selector, selector2 ...Selector) Selector
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextElem ¶
Types ¶
type Selection ¶
func (Selection) AppendChild ¶
func (Selection) AppendNext ¶
func (Selection) AppendPrev ¶
func (Selection) MapComplex128 ¶
func (selection Selection) MapComplex128(f func(Selection) (complex128, error)) ([]complex128, error)
func (Selection) MapComplex64 ¶
func (Selection) MapFloat32 ¶
func (Selection) MapFloat64 ¶
func (Selection) MapUintptr ¶
type Selector ¶
func (Selector) FirstChild ¶
Click to show internal directories.
Click to hide internal directories.