html: aahframe.work/minify/html Index | Files

package html

import "aahframe.work/minify/html"

Index

Package Files

html_minify.go version.go

Constants

const Version = "0.2.0"

Version no of html minify package.

func AddHTMLMinifer Uses

func AddHTMLMinifer(e *aah.Event)

AddHTMLMinifer method is aah's `OnStart` event func to initilize the minify instance and adding minifier into application.

func HTML Uses

func HTML(contentType string, w io.Writer, r io.Reader) error

HTML method calls the minify library func to minify content. It reads data from reader and writes it to the given writer.

Package html imports 7 packages (graph). Updated 2018-12-11. Refresh now. Tools for package owners.