category

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnglishCategories = append([]string(nil), canonicalCategories...)

EnglishCategories is the canonical set used by admin input and stored results.

Functions

func FirstLocalizedCategory

func FirstLocalizedCategory(language string) (string, error)

func LocalizedCategoriesFor

func LocalizedCategoriesFor(language string) ([]string, error)

func NormalizeCategory

func NormalizeCategory(language, category string) (string, error)

func ValidateEnglishCategory

func ValidateEnglishCategory(category string) error

func ValidateLocalizedCategory

func ValidateLocalizedCategory(language, category string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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