MCPcopy
hub / github.com/golang/tools / Run

Method Run

internal/tool/tool.go:68–68  ·  view source on GitHub ↗

Run is invoked after all flag processing, and inside the profiling and error handling harness.

(ctx context.Context, args ...string)

Source from the content-addressed store, hash-verified

66 // Run is invoked after all flag processing, and inside the profiling and
67 // error handling harness.
68 Run(ctx context.Context, args ...string) error
69}
70
71type SubCommand interface {

Callers 15

execMethod · 0.65
TestParseErrorMessageFunction · 0.65
modTidyImplFunction · 0.65
TestMainFunction · 0.65
TestFutureCache_RetryingFunction · 0.65
TestZeroConfigAlgorithmFunction · 0.65
TestFileMapFunction · 0.65
modWhyImplFunction · 0.65
loadGoEnvFunction · 0.65
TestIsStandaloneFileFunction · 0.65
TestRefsFunction · 0.65

Implementers 15

signaturegopls/internal/cmd/signature.go
renamegopls/internal/cmd/rename.go
highlightgopls/internal/cmd/highlight.go
Applicationgopls/internal/cmd/cmd.go
fixgopls/internal/cmd/cmd.go
codelensgopls/internal/cmd/codelens.go
implementationgopls/internal/cmd/implementation.go
linksgopls/internal/cmd/links.go
definitiongopls/internal/cmd/definition.go
symbolsgopls/internal/cmd/symbols.go
prepareRenamegopls/internal/cmd/prepare_rename.go
statsgopls/internal/cmd/stats.go

Calls

no outgoing calls

Tested by 15

TestParseErrorMessageFunction · 0.52
TestMainFunction · 0.52
TestFutureCache_RetryingFunction · 0.52
TestZeroConfigAlgorithmFunction · 0.52
TestFileMapFunction · 0.52
TestIsStandaloneFileFunction · 0.52
TestRefsFunction · 0.52
TestFixGoAndDeferFunction · 0.52
TestFixInitFunction · 0.52
TestFixPhantomSelectorFunction · 0.52
TestTelemetryFunction · 0.52