content_parser

package
v0.0.0-...-713c697 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoxText

type BoxText []TextStruct

func NewParser

func NewParser() *BoxText

func (*BoxText) CreateBoxText

func (b *BoxText) CreateBoxText(r io.Reader) error

func (*BoxText) Parse

func (b *BoxText) Parse(n *html.Node)

func (*BoxText) Print

func (b *BoxText) Print()

func (*BoxText) SearchForOccurence

func (b *BoxText) SearchForOccurence(text string) bool

type TextStruct

type TextStruct struct {
	Tag, Text string
}

func ParseNode

func ParseNode(n *html.Node, tag string) *TextStruct

Jump to

Keyboard shortcuts

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