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 |
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
|
cb524fc94e
|
fix testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
2017-07-08 17:11:28 +08:00 |
Bo-Yi Wu
|
08338eff82
|
fix testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
|
2017-07-08 17:03:14 +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 |
Eason Lin
|
9ff8786b3d
|
Improve errors code coverage (#944)
|
2017-06-12 21:37:20 -05:00 |
Manu Mtz-Almeida
|
0316b735c4
|
More unit tests
|
2015-07-03 04:20:18 +02:00 |
Manu Mtz-Almeida
|
dde06a07f0
|
Logger only prints internal errors
|
2015-06-06 17:24:16 +02:00 |
Manu Mtz-Almeida
|
4eeca21039
|
Errors conforms to MarshalJSON interface
|
2015-05-22 18:34:42 +02:00 |
Manu Mtz-Almeida
|
37b6f6c179
|
Fixing new errors API
|
2015-05-22 16:39:15 +02:00 |