go/src/cmd/go/internal/web/url.go

var errNotAbsolute

func urlToFilePath(u *url.URL) (string, error) {}

func urlFromFilePath(path string) (*url.URL, error) {}