path_util

package
v0.25.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NamespacedPath

func NamespacedPath(base, namespace string, paths ...string) string

NamespacedPath generates the URL for namespaced path by joining base url, namespace and additional path segments.

func PrefixedPath

func PrefixedPath(url string) string

PrefixedPath ensures that provided url starts with slash ("/")

Types

This section is empty.

Jump to

Keyboard shortcuts

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