Skip to content

Commit

Permalink
Add a brief description of integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
leekchan committed Jul 20, 2015
1 parent cd08f8c commit f453f4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ func main() {
```



## Integration
You can use gtf with any web frameworks (revel, beego, martini, gin, etc) which use the Golang's built-in [html/template package](http://golang.org/pkg/html/template/). Calling ".Funcs(gtf.GtfFuncMap)" on [template.Template](http://golang.org/pkg/text/template/#Template) will add gtf functions to your template. I will add the detailed integration guides for each web framework soon!



## Safety
All gtf functions have their own recovery logics. The basic behavior of the recovery logic is silently swallowing all unexpected panics. All gtf functions would not make any panics in runtime. (**Production Ready!**)

Expand Down

0 comments on commit f453f4a

Please sign in to comment.