helpers

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatasetVersionUrl added in v1.16.0

func DatasetVersionUrl(datasetID string, edition string, version string) string

DatasetVersionUrl constructs a dataset version URL from the provided datasetID, edition and version values

func ExtractDatasetInfoFromPath

func ExtractDatasetInfoFromPath(path string) (datasetID, edition, version string, err error)

ExtractDatasetInfoFromPath gets the datasetID, edition and version from a given path

func GetAPIRouterVersion added in v1.18.0

func GetAPIRouterVersion(rawurl string) (string, error)

GetAPIRouterVersion returns the path of the provided url, which corresponds to the api router version

Types

This section is empty.

Jump to

Keyboard shortcuts

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