Commit Graph

3 Commits

Author SHA1 Message Date
junfengye 0ebd42d0a9 Update jsoniter.go (#1500)
add newencoder to fix compile error for -tags=jsoniter
2018-08-20 18:25:45 +08:00
田欧 9a4ecc87d6 format some codes style (#1165) 2017-11-11 23:24:51 -06: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