urlhelpers

package
v4.0.0-pre-2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSourceURL

func ParseSourceURL(value string) (*url.URL, error)

ParseSourceURL parses a datasource URL value, which may be '-' (for stdin://), or it may be a Windows path (with driver letter and back-slash separators) or UNC, or it may be relative. It also might just be a regular absolute URL... In all cases it returns a correct URL for the value. It may be a relative URL in which case the scheme should be assumed to be 'file'

Types

This section is empty.

Jump to

Keyboard shortcuts

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