Logo
Explore Help
Register Sign In
zlei6/go-zero
1
0
Fork 0
You've already forked go-zero
mirror of https://github.com/zeromicro/go-zero.git synced 2026-05-10 00:20:00 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
copilot/fix-sse-code-missing-parameters
go-zero/rest/httpc/vars.go

16 lines
280 B
Go
Raw Permalink Normal View History

feat: add httpc.Parse (#1698)
2022-03-23 17:58:21 +08:00
package httpc
feat: add httpc.Do & httpc.Service.Do (#1775) * backup * backup * backup * feat: add httpc.Do & httpc.Service.Do * fix: not using strings.Cut, it's from Go 1.18 * chore: remove redudant code * feat: httpc.Do finished * chore: fix reviewdog * chore: break loop if found * add more tests
2022-04-11 11:00:28 +08:00
import "errors"
feat: add httpc.Parse (#1698)
2022-03-23 17:58:21 +08:00
const (
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
pathKey = "path"
formKey = "form"
headerKey = "header"
jsonKey = "json"
slash = "/"
colon = ':'
feat: add httpc.Parse (#1698)
2022-03-23 17:58:21 +08:00
)
feat: add httpc.Do & httpc.Service.Do (#1775) * backup * backup * backup * feat: add httpc.Do & httpc.Service.Do * fix: not using strings.Cut, it's from Go 1.18 * chore: remove redudant code * feat: httpc.Do finished * chore: fix reviewdog * chore: break loop if found * add more tests
2022-04-11 11:00:28 +08:00
// ErrGetWithBody indicates that GET request with body.
var ErrGetWithBody = errors.New("HTTP GET should not have body")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 32ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API