mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
Add a simple map type RenderOptions to help users remember it easier
This commit is contained in:
parent
74aeb081ee
commit
9892620ce5
|
@ -76,6 +76,11 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
// RenderOptions is a helper type for the optional runtime options can be passed by user when Render
|
||||||
|
// an example of this is the "layout" or "gzip" option
|
||||||
|
// same as Map but more specific name
|
||||||
|
RenderOptions map[string]interface{}
|
||||||
|
|
||||||
// Map is just a conversion for a map[string]interface{}
|
// Map is just a conversion for a map[string]interface{}
|
||||||
// should not be used inside Render when PongoEngine is used.
|
// should not be used inside Render when PongoEngine is used.
|
||||||
Map map[string]interface{}
|
Map map[string]interface{}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user