1
0
mirror of https://github.com/golang/go synced 2024-09-29 07:24:32 -06:00

fix outdated comment

func name was changed in commit: 669f5be

Fixes #57718
This commit is contained in:
Cameron Bedard 2023-01-12 16:21:23 -05:00
parent 245e95dfab
commit b8c9dbccbc

View File

@ -1270,7 +1270,7 @@ func urlForImportPath(importPath string) (*urlpkg.URL, error) {
}
// repoRootForImportDynamic finds a *RepoRoot for a custom domain that's not
// statically known by repoRootForImportPathStatic.
// statically known by repoRootFromVCSPaths.
//
// This handles custom import paths like "name.tld/pkg/foo" or just "name.tld".
func repoRootForImportDynamic(importPath string, mod ModuleMode, security web.SecurityMode) (*RepoRoot, error) {