mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
fixed json, xml pretty print
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -427,7 +427,7 @@ func (c *context) XMLPretty(code int, i interface{}, indent string) (err error)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
return c.JSONBlob(code, b)
|
||||
return c.XMLBlob(code, b)
|
||||
}
|
||||
|
||||
func (c *context) XMLBlob(code int, b []byte) (err error) {
|
||||
|
Reference in New Issue
Block a user