go-zero/rest/httpx
Kevin Wan 3bbc90ec24
refactor: move json related header vars to internal (#1840)
* refactor: move json related header vars to internal

* refactor: use header.ContentType
2022-04-28 15:12:04 +08:00
..
requests_test.go refactor: move json related header vars to internal (#1840) 2022-04-28 15:12:04 +08:00
requests.go refactor: move json related header vars to internal (#1840) 2022-04-28 15:12:04 +08:00
responses_test.go fix: rest: WriteJson get 200 when Marshal failed. (#1803) 2022-04-21 21:55:01 +08:00
responses.go refactor: move json related header vars to internal (#1840) 2022-04-28 15:12:04 +08:00
router.go chore(format): change by gofumpt tool (#697) 2021-05-18 14:43:09 +08:00
util_test.go test: add more tests (#1150) 2021-10-20 17:50:01 +08:00
util.go test: add more tests (#1150) 2021-10-20 17:50:01 +08:00
vars.go refactor: move json related header vars to internal (#1840) 2022-04-28 15:12:04 +08:00