Updated formatting
This commit is contained in:
parent
c5ad01daee
commit
86448ac4a7
18 changed files with 18 additions and 18 deletions
|
@ -46,4 +46,4 @@ func Text(ctx web.Context, body string) error {
|
|||
func XML(ctx web.Context, body string) error {
|
||||
ctx.Response().SetHeader("Content-Type", "text/xml")
|
||||
return ctx.String(body)
|
||||
}
|
||||
}
|
|
@ -64,4 +64,4 @@ func TestContentTypes(t *testing.T) {
|
|||
assert.Equal(t, string(response.Body()), test.Response)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue