paramdelim

package
v3.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package paramdelim holds the byte set that ends a ":name" placeholder in a path. The route parser and the HTTP client both need the same grammar; keep it here so they cannot drift (#4635).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathEndChars

func PathEndChars() [256]bool

PathEndChars are the bytes that terminate a :name placeholder in a URL path or route pattern: '/', '-', '.', ':', '\\', and '?'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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