1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 12:31:58 +00:00

Add an example for httprouter_test, gofmt everything and misspel fixes.

Former-commit-id: e69ffdf9bba4c7e8c3df45c015b3363cc3fc59b6
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-02-17 10:45:47 +02:00
parent 2eae027e77
commit 9a3c4f4c0a
13 changed files with 307 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ func (h *HTMLAdaptor) Delims(left string, right string) *HTMLAdaptor {
// and optionally {{partial/partial_r/render}} to render other template files like headers and footers
//
// The 'tmplLayoutFile' is a relative path of the templates base directory,
// for the template file whith its extension.
// for the template file with its extension.
//
// Example: HTML("./templates", ".html").Layout("layouts/mainLayout.html")
// // mainLayout.html is inside: "./templates/layouts/".