File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,11 +164,11 @@ func main() {
164
164
})
165
165
166
166
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" })
168
168
})
169
169
170
170
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! " })
172
172
})
173
173
174
174
r.GET (" /xml" , func (c router.Context ) error {
@@ -180,7 +180,7 @@ func main() {
180
180
})
181
181
182
182
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!" ))
184
184
})
185
185
186
186
r.GET (" /custom" , func (c router.Context ) error {
You can’t perform that action at this time.
0 commit comments