Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thunder-Compute/thunder-cli
/ Do
Method
Do
internal/testutils/mocks.go:9–9 ·
view source on GitHub ↗
(req *http.Request)
Source
from the content-addressed store, hash-verified
7
8
type
HTTPClient
interface
{
9
Do(req *http.Request) (*http.Response, error)
10
}
11
12
type
MockHTTPClient
struct
{
Callers
8
ThunderDir
Function · 0.65
InitCommonStyles
Function · 0.65
Init
Function · 0.65
InitHelpStyles
Function · 0.65
fetchLatestFromGitHub
Function · 0.65
httpGet
Function · 0.65
downloadFile
Function · 0.65
doRequest
Method · 0.65
Implementers
1
MockHTTPClient
internal/testutils/mocks.go
Calls
no outgoing calls
Tested by
no test coverage detected