Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResponse ¶
func GetLatestVersionMockResponse ¶
func GetLatestVersionMockResponse(pathURL, version string) MockResponse
func GetModuleInfoMockResponse ¶
func GetModuleInfoMockResponse(gobin, binaryName, output string) MockResponse
type TestGoCmdRunner ¶
type TestGoCmdRunner struct {
Responses []MockResponse
}
func (*TestGoCmdRunner) RunGoCommand ¶
func (r *TestGoCmdRunner) RunGoCommand(args ...string) (string, error)
Click to show internal directories.
Click to hide internal directories.