ids

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnforceLimit

func EnforceLimit(sanitized, original string, maxLen int) string

EnforceLimit keeps a sanitized ID within maxLen, suffixing a digest of original when truncated.

func Sanitize

func Sanitize(raw string) string

Sanitize converts user/session-provided labels into stable plugin IDs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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