package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

IsErrTemplateLoad checks if an error is a ErrTemplateLoad.
LoadTemplateDescription loads the labels from a template file, returns a description string by joining each Label.Name with comma.
LoadTemplateFile loads the label template file by given file name, returns a slice of Label structs.
NormalizeColor normalizes a color string to a 6-character hex code.

# Structs

ErrTemplateLoad represents a "ErrTemplateLoad" kind of error.
Label represents label information loaded from template.