Documentation ¶ Index ¶ func ExtractAttribute(html string, attribute string, defaultValue string) string func Format(content string) (string, error) func Minify(content string) (string, error) func Processor(action *compactor.Action, bundle *compactor.Bundle, logger *compactor.Logger) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExtractAttribute ¶ added in v0.0.3 func ExtractAttribute(html string, attribute string, defaultValue string) string ExtractAttribute find the value of the attribute func Format ¶ added in v0.0.3 func Format(content string) (string, error) HTML Format method func Minify ¶ added in v0.0.3 func Minify(content string) (string, error) HTML minify func Processor ¶ func Processor(action *compactor.Action, bundle *compactor.Bundle, logger *compactor.Logger) error HTML processor Types ¶ This section is empty. Source Files ¶ View all Source files processor.go Click to show internal directories. Click to hide internal directories.