internal/fetch: populate go_mod_path for standard library
The go_mod_path field was empty for the standard library
and is now set.
For golang/go#37002
@@ -94,6 +94,7 @@ func FetchModule(ctx context.Context, modulePath, requestedVersion string, proxy
fr.Error = err
return fr
}
+ fr.GoModPath = stdlib.ModulePath
fr.ResolvedVersion = requestedVersion
} else {
info, err := proxyClient.GetInfo(ctx, modulePath, requestedVersion)
