mirror of https://github.com/gin-gonic/gin.git
add a method to set the indentJsonIndentString used in Context.IndentedJSON
This commit is contained in:
parent
817dadf7ce
commit
e7e1996f46
20
gin.go
20
gin.go
|
@ -107,16 +107,16 @@ type Engine struct {
|
|||
// See the PR #1817 and issue #1644
|
||||
RemoveExtraSlash bool
|
||||
|
||||
delims render.Delims
|
||||
secureJSONPrefix string
|
||||
HTMLRender render.HTMLRender
|
||||
FuncMap template.FuncMap
|
||||
allNoRoute HandlersChain
|
||||
allNoMethod HandlersChain
|
||||
noRoute HandlersChain
|
||||
noMethod HandlersChain
|
||||
pool sync.Pool
|
||||
trees methodTrees
|
||||
delims render.Delims
|
||||
secureJSONPrefix string
|
||||
HTMLRender render.HTMLRender
|
||||
FuncMap template.FuncMap
|
||||
allNoRoute HandlersChain
|
||||
allNoMethod HandlersChain
|
||||
noRoute HandlersChain
|
||||
noMethod HandlersChain
|
||||
pool sync.Pool
|
||||
trees methodTrees
|
||||
indentJsonIndentString string
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue