Help us shape the future of Go! Take the 2026 Go Developer Survey

pathvar

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 2 Imported by: 45

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Vars

func Vars(r *http.Request) map[string]string

Vars parses path variables and returns a map.

func WithVars

func WithVars(r *http.Request, params map[string]string) *http.Request

WithVars writes params into given r and returns a new http.Request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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