templates

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package templates provides embedded Go templates for code generation.

It includes template loading utilities with Sprig functions and custom GitHub Actions helpers for generating workflows, configuration files, and other templated content.

Index

Constants

This section is empty.

Variables

View Source
var Embed embed.FS

Functions

func LoadTemplate

func LoadTemplate(name string) (*template.Template, error)

LoadTemplate returns a parsed template from the embedded FS.

func MustLoadTemplate

func MustLoadTemplate(name string) *template.Template

MustLoadTemplate calls LoadTemplate but panics if parsing fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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