MCPcopy Create free account
hub / github.com/goproxyio/goproxy / GoMod

Method GoMod

proxy/server.go:73–73  ·  view source on GitHub ↗

GoMod opens and returns the module's go.mod file. The requested version is a canonical semantic version. Proxies should obtain the module version information by executing 'go mod download -json' and caching the file listed in the GoMod field.

(ctx context.Context, m module.Version)

Source from the content-addressed store, hash-verified

71 // executing 'go mod download -json' and caching the file
72 // listed in the GoMod field.
73 GoMod(ctx context.Context, m module.Version) (File, error)
74 // Zip opens and returns the module's zip file.
75 // The requested version is a canonical semantic version.
76 //

Callers 1

ServeHTTPMethod · 0.65

Implementers 1

opsmain.go

Calls

no outgoing calls

Tested by

no test coverage detected