Commit Graph

7 Commits

Author SHA1 Message Date
David Zhang
d7daffc26b Use camel case instead of ALL_CAPS (#1419)
* Use camel case instead of ALL_CAPS

* Update mode.go
2019-02-22 12:53:47 +08:00
Mario Kostelac
5d3f30cfc8 Make "" mode being the same as debug mode (#1250)
Not setting mode explicitly sets gin into debug mode, but it does not
make it possible to retrieve gin mode as Debug since it's set to "".
2018-02-23 09:09:33 +08:00
田欧
eeb57848ca update assert param(expect, actual) position (#1177) 2017-11-21 21:18:45 +08:00
whirosan
fb7448f081 feat(binding): add UseNumber() in gin.Context.BindJSON() (#997) close #368
* resolve #368 add option to UseNumber() in gin.Context.BindJSON()

* add test
2017-07-10 10:33:35 +02:00
thinkerou
f843c33370 add test case of mode 2017-07-05 21:05:02 +08:00
thinkerou
2a36eefcff add test case of mode 2017-07-05 20:37:28 +08:00
Manu Mtz-Almeida
4d315f474b More unit tests 2015-04-08 14:24:49 +02:00