url

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder encapsulates the building of urls in a central place, with knowledge of the url structures and base host names.

func NewBuilder

func NewBuilder(websiteURL string) *Builder

NewBuilder returns a new instance of url.Builder

func (Builder) BuildWebsiteDatasetVersionURL

func (builder Builder) BuildWebsiteDatasetVersionURL(datasetID, edition, version string) string

BuildWebsiteDatasetVersionURL returns the website URL for a specific dataset version

Jump to

Keyboard shortcuts

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