import cloudeng.io/file/content/processors
Package processor provides support for processing different content types.
Types
Type HTML
type HTML struct{}
HTML provides support for processing HTML documents.
Methods
func (ho HTML) Parse(rd io.Reader) (HTMLDoc, error)
Type HTMLDoc
type HTMLDoc struct {
// contains filtered or unexported fields
}
Methods
func (ho HTMLDoc) HREFs(base string) ([]string, error)
HREFs returns the hrefs found in the provided HTML document.
func (ho HTMLDoc) Title() string