The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
3
Stars
MIT
License
32,464
Downloads
May 3rd 2019
Last Modified
Version:
Loading...

htmlg

Build Status GoDoc

Package htmlg contains helper funcs for generating HTML nodes and rendering them. Context-aware escaping is done just like in html/template, making it safe against code injection.

Note: This package is quite experimental in nature, so its API is susceptible to more frequent changes than the average package. This is necessary in order to keep this package useful.

Installation

go get -u github.com/shurcooL/htmlg

License

  • MIT License