Documentation ¶
Index ¶
- func ExtractClass(n *html.Node) string
- func ExtractIFrames(startTag string, n *html.Node, uri string) string
- func ExtractImages(startTag string, n *html.Node, uri string, imageList []models.Upload) (string, []models.Upload, string, int)
- func GenerateImagePath(href string, uri string) (string, models.Upload)
- type Config
- type HtmlCleaner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractClass ¶
ExtractClass - return class attribute values of a html element
func ExtractImages ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.