url

package
v2.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package url provides functionality for converting file paths to file URLs.

Code copied from https://github.com/golang/go/blob/7c2b69080a0b9e35174cc9c93497b6e7176f8275/src/cmd/go/internal/web/url.go TODO(golang.org/issue/32456): If accepted, move these functions into the net/url package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFilePath

func FromFilePath(path string) (*url.URL, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL