Documentation
¶
Index ¶
- func AddHelper(augend int, addend int) raymond.SafeString
- func BraceHelper(options *raymond.Options) raymond.SafeString
- func FormatHelper(value any, format string) raymond.SafeString
- func IfEqualHelper(a, b any, options *raymond.Options) string
- func IfSetHelper(value any, options *raymond.Options) string
- func IndentLengthHelper(s string) raymond.SafeString
- func Iterate[T any](value any) iter.Seq[T]
- func LoadTemplate(baseTemplate string, templateDir fs.FS) (*raymond.Template, error)
- func QuoteHelper(s string) raymond.SafeString
- func RawHelper(value string) raymond.SafeString
- func RegisterCommonHelpers(t *raymond.Template)
- func YearHelper() raymond.SafeString
- type Overlay
- type TemplateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BraceHelper ¶
func BraceHelper(options *raymond.Options) raymond.SafeString
func FormatHelper ¶
func FormatHelper(value any, format string) raymond.SafeString
func IndentLengthHelper ¶
func IndentLengthHelper(s string) raymond.SafeString
func LoadTemplate ¶
func QuoteHelper ¶
func QuoteHelper(s string) raymond.SafeString
func RawHelper ¶
func RawHelper(value string) raymond.SafeString
func RegisterCommonHelpers ¶
func YearHelper ¶
func YearHelper() raymond.SafeString
Types ¶
type TemplateOptions ¶
type TemplateOptions struct {
TemplateRoot string `default:"" help:"the root of your local template files; if not specified, Alchemy will use an internal copy"`
}
Click to show internal directories.
Click to hide internal directories.