File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,11 +164,11 @@ func main() {
164164 })
165165
166166 r.GET (" /json" , func (c router.Context ) error {
167- return c.JSON (200 , response.M {" message" : " A JSON response using response.M helper" })
167+ return c.JSON (200 , response.M {" message" : " Using response.M helper" })
168168 })
169169
170170 r.GET (" /json-pretty" , func (c router.Context ) error {
171- return c.PrettyJSON (200 , response.M {" message" : " A pretty JSON response" })
171+ return c.PrettyJSON (200 , response.M {" message" : " A pretty JSON response! " })
172172 })
173173
174174 r.GET (" /xml" , func (c router.Context ) error {
@@ -180,7 +180,7 @@ func main() {
180180 })
181181
182182 r.GET (" /bytes" , func (c router.Context ) error {
183- return c.Bytes (200 , []bytes (" This was some bytes!" ))
183+ return c.Bytes (200 , []bytes (" Some bytes!" ))
184184 })
185185
186186 r.GET (" /custom" , func (c router.Context ) error {
You can’t perform that action at this time.
0 commit comments