Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromImageInfo ¶
FromImageInfo generates a slug from image metadata Tries alt text first, then falls back to URL
func FromImageURL ¶
FromImageURL generates a slug from an image URL Extracts the filename without extension and creates a slug
func GenerateWithFallback ¶
GenerateWithFallback generates a slug, falling back to a default if the input produces an empty slug
func MakeUnique ¶
MakeUnique appends a number to a slug to make it unique
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.