Documentation ¶
Index ¶
- func ExtractAttribute(html string, attribute string, defaultValue string) string
- func Format(content string) (string, error)
- func InitProcessor(bundle *compactor.Bundle) error
- func Minify(content string) (string, error)
- func Plugin() *compactor.Plugin
- func RunProcessor(bundle *compactor.Bundle) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAttribute ¶ added in v0.0.3
ExtractAttribute find the value of the attribute
func InitProcessor ¶ added in v0.0.6
Init processor
func RunProcessor ¶ added in v0.0.4
HTML processor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.