1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

Iris is looking for a new website design and logo

This commit is contained in:
Makis Maropoulos
2016-06-01 04:45:11 +03:00
parent 54348e9cc5
commit 8cd1cc2ac8
3 changed files with 11 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ func (ctx *Context) Render(name string, binding interface{}, layout ...string) e
return ctx.HTML(StatusOK, name, binding, layout...)
}
// Render accepts a template filename, its context data and returns the result of the parsed template (string)
// RenderStrings accepts a template filename, its context data and returns the result of the parsed template (string)
func (ctx *Context) RenderString(name string, binding interface{}, layout ...string) (result string, err error) {
return ctx.station.templates.RenderString(name, binding, layout...)
}