支持通过go build -tags=jsoniter方式替换xorm中的json处理器 #1744

Closed
opened 2020-07-22 08:39:47 +00:00 by voidint · 1 comment
  • 标准库中的encoding/json在性能敏感场景下无法满足需求,建议对使用方暴露类似go build -tags=jsoniter的json实现替换入口(参考gin)。
- 标准库中的`encoding/json`在性能敏感场景下无法满足需求,建议对使用方暴露类似`go build -tags=jsoniter`的json实现替换入口(参考[gin](https://github.com/gin-gonic/gin#build-with-jsoniter))。
Author
- 再补充一种实现方式:[go-resty/resty](https://github.com/go-resty/resty/issues/76#issuecomment-314015250)
lunny added this to the 1.1.1 milestone 2021-06-06 05:47:27 +00:00
lunny added the
kind
enhancement
label 2021-06-06 05:47:31 +00:00
lunny closed this issue 2021-06-06 06:20:45 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1744
No description provided.