slug

package
v0.14.4-dev.43 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dashed

func Dashed(value string) string

Dashed preserves ASCII alphanumerics and replaces every other byte with a dash. It deliberately does not collapse or trim dashes.

func DashedLower

func DashedLower(value string) string

DashedLower preserves lowercase ASCII alphanumerics, replaces every other byte with a dash, and trims leading and trailing dashes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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