/wring

Primary LanguageGoMIT LicenseMIT

Wring

Package wring provides a facility to minify HTML code.

Install

To install, use go get:

$ go get -u github.com/elpinal/wring

Examples

err := wring.HTML(strings.NewReader("<p>    Go    </p>"), os.Stdout)

Contribution

  1. Fork (https://github.com/elpinal/wring/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

elpinal