globutil

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URL

type URL struct {
	Scheme string
	Host   string
	Path   string
}

func ParseBucketURL

func ParseBucketURL(path string) (*URL, error)

ParseBucketURL splits urls with globs into scheme, hostname and rest of the url(as glob) url.Parse removes `?` considering it is query param `?` is valid meta in glob patterns

Jump to

Keyboard shortcuts

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