Package wring
provides a facility to minify HTML code.
To install, use go get
:
$ go get -u github.com/elpinal/wring
err := wring.HTML(strings.NewReader("<p> Go </p>"), os.Stdout)
- Fork (https://github.com/elpinal/wring/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request