Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 614 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 614 Bytes

htmlg

Go Reference

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 github.com/shurcooL/htmlg

License