Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-scan/Goal
/ New
Function
New
Ghttp/http.go:67–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
//log.Println("init http")
66
}
67
func
New() *Http {
68
c := Http{}
69
c.HttpTransport = &transport
70
return
&c
71
}
72
73
// 新建一个请求
74
func
(h *Http) New(method, urls string) *Http {
Callers
5
TestPst
Function · 0.92
TestManyReq
Function · 0.92
TestNewReq
Function · 0.92
Get
Function · 0.85
Post
Function · 0.85
Calls
no outgoing calls
Tested by
3
TestPst
Function · 0.74
TestManyReq
Function · 0.74
TestNewReq
Function · 0.74