locations

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPI

func NewAPI(mdb *mongo.Database) apis.Locations

NewAPI creates a new apiImpl object that will use the provided db

func SlugifyPath

func SlugifyPath(locs []string) string

SlugifyPath converts a sequence of location tokens to a slug

func SlugifyPathString

func SlugifyPathString(loc string) string

SlugifyPathString converts a comma-separated path string into a path slug

func SlugifyToken

func SlugifyToken(loc string) string

SlugifyToken converts a location token to a slug

Types

This section is empty.

Jump to

Keyboard shortcuts

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