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