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)
| 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 | // |