html

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: MIT Imports: 7 Imported by: 0

README

HTML Minify Extension Library for aah framework

Version GoDoc

Since aah v0.10.x release, this package registered automatically and made active on profile prod.

News

  • v0.2.0 released and tagged on Dec 07, 2018.

Usage

# go.mod
require aahframe.work/minify/html v0.2.0

Issues

Please report issues at https://aahframework.org/issues.

Author

Jeevanandam M. (jeeva@myjeeva.com)

License

html-minify released under MIT License.

Documentation

Index

Constants

View Source
const Version = "0.2.0"

Version no of html minify package.

Variables

This section is empty.

Functions

func AddHTMLMinifer

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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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