Bo-Yi Wu
|
ce670a6497
|
refactor(json): make jsonite optional with build tags (#1026)
* refactor(json): Restore gin support for app engine
Create new folder to support multiple json package.
restore gin support for app engine (disable jsonite through tags)
use jsoniter
$ go build -tags=jsoniter .
use default json
$ go build .
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* rename json file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* docs(json): add build tags document.
* fix(docs): markdown format.
* fix(json): missing space.
|
2017-07-18 23:01:29 +02: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 |
Bo-Yi Wu
|
e23842ecab
|
fix json sort the map keys
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
2017-07-08 18:19:09 +08:00 |
Bo-Yi Wu
|
12508320c2
|
feat: change json lib to jsoniter
A high-performance 100% compatible drop-in replacement of "encoding/json"
https://github.com/json-iterator/go
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
2017-07-08 16:51:36 +08:00 |
田欧
|
d922143bc5
|
lint code for import (#939)
|
2017-06-11 21:40:15 -05:00 |
Manu Mtz-Almeida
|
0494e1b66a
|
Removes unused underscore
|
2015-07-10 13:06:01 +02:00 |
Manu Mtz-Almeida
|
0c9f086b74
|
Renames Validate() to validate()
|
2015-05-31 16:30:00 +02:00 |
Manu Mtz-Almeida
|
0a192fb0fa
|
Tons of unit tests
|
2015-04-09 12:15:02 +02:00 |
Manu Mtz-Almeida
|
a887e395f3
|
Fixes integration with "go-validate-yourself"
http://stackoverflow.com/questions/29138591/hiding-nil-values-understanding-why-golang-fails-here
|
2015-04-07 16:06:53 +02:00 |
Manu Mtz-Almeida
|
ee3b67eda1
|
Experimenting with new validation library!!!
|
2015-04-07 12:30:16 +02:00 |
Manu Mtz-Almeida
|
d4413b6e91
|
Refactors binding module
|
2015-03-31 17:51:10 +02:00 |