restroute

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 2 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