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

restroute

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package restroute provides shared REST path-matching helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(path string, pattern *regexp.Regexp) []string

Match returns the regex submatches for path.

func StripQuery

func StripQuery(path string) string

StripQuery removes the query string from a REST path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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