html

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 InitProcessor added in v0.0.6

func InitProcessor(bundle *compactor.Bundle) error

Init processor

func Minify added in v0.0.3

func Minify(content string) (string, error)

HTML minify

func Plugin added in v0.0.4

func Plugin() *compactor.Plugin

func RunProcessor added in v0.0.4

func RunProcessor(bundle *compactor.Bundle) error

HTML processor

Types

This section is empty.

Jump to

Keyboard shortcuts

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