thinkerou
7ee83ec3d5
Remove go1.12 support ( #2679 )
...
* Revert "Adding ppc64le architecture support on travis-ci (#2538 )"
This reverts commit fca3f95d7c
.
* not support go1.12
* fix
* Update errors_test.go
* Update debug.go
2021-11-24 21:37:56 +08:00
Dmitry Kutakov
b056a34bdc
fix errcheck warnings ( #1739 )
2019-01-18 09:32:53 +08:00
田欧
72db8acd99
add internal package which includes json package ( #1504 )
2018-08-30 19:04:03 +08:00
vz
d17a12591f
update assert param(expect, actual) position ( #1421 )
...
- update assert param(expect, actual) position
2018-07-03 15:39:18 +08:00
Eason Lin
81007d2ce0
refactor(test): unify assert.Equal usage ( #1054 )
2017-08-04 13:45:59 +08:00
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