mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
minor
This commit is contained in:
@@ -3971,6 +3971,7 @@ const jsonOptionsContextKey = "iris.context.json_options"
|
|||||||
// ctx.SetJSONOptions(iris.JSON{
|
// ctx.SetJSONOptions(iris.JSON{
|
||||||
// ErrorHandler: errHandler,
|
// ErrorHandler: errHandler,
|
||||||
// })
|
// })
|
||||||
|
// ctx.Next()
|
||||||
// })
|
// })
|
||||||
func (ctx *Context) SetJSONOptions(opts JSON) {
|
func (ctx *Context) SetJSONOptions(opts JSON) {
|
||||||
ctx.values.Set(jsonOptionsContextKey, opts)
|
ctx.values.Set(jsonOptionsContextKey, opts)
|
||||||
|
|||||||
Reference in New Issue
Block a user