Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloudfoundry/multiapps-cli-plugin
/ ExecuteGetRequest
Method
ExecuteGetRequest
util/http_util.go:18–25 ·
view source on GitHub ↗
(url string)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(executor SimpleGetExecutor) ExecuteGetRequest(url string) (int, error) {
19
resp, err := http.Get(url)
20
if
err != nil {
21
return
-1, err
22
}
23
defer
resp.Body.Close()
24
return
resp.StatusCode, nil
25
}
Callers
nothing calls this directly
Calls
1
Close
Method · 0.45
Tested by
no test coverage detected