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

# Functions

Expand replaces all variables like {var} by `vars` map, it always returns the expanded string regardless of errors if error occurs, the error part doesn't change and is returned as it is.

# Structs

ErrVarMissing represents an error that no matched variable.
ErrWrongSyntax represents a wrong syntax with a template.