paths

package
v0.0.0-...-bf23437 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pitchfork

func Pitchfork(base string, paths []string) (ret []string, err error)

Pitchfork will take the initial base, http://foo.com and append paths returning full URLs e.g. http://foo.com/1 http://foo.com/2

func Prefix

func Prefix(prefix []string, paths []string) (ret []string)

Prefix will cross multiply the prefix and paths. If either is empty an empty slice will be returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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