Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ Example
Function
Example
clihttp/example_test.go:9–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
)
8
9
func
Example() {
10
client := NewClient(opentracing.GlobalTracer())
11
req, _ := http.NewRequest(
"GET"
,
"https://example.com/"
, nil)
12
resp, _ := client.Do(req)
13
resp.Body.Close()
14
}
Callers
nothing calls this directly
Calls
3
Do
Method · 0.95
NewClient
Function · 0.85
Close
Method · 0.80
Tested by
no test coverage detected