9 Commits

Author SHA1 Message Date
Gaozhen Ying
d6eafcf48a add TestDisableBindValidation () 2019-09-24 21:44:15 +08:00
Krzysztof Szafrański
f38c30a0d2 feat(binding): add DisallowUnknownFields() in gin.Context.BindJSON() () 2019-09-06 13:56:59 +08:00
David Zhang
d7daffc26b Use camel case instead of ALL_CAPS ()
* 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 ()
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 () 2017-11-21 21:18:45 +08:00
whirosan
fb7448f081 feat(binding): add UseNumber() in gin.Context.BindJSON() () close
* resolve  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