templates

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates *template.Template

Templates holds all parsed templates

Functions

func GoHeader

func GoHeader(name string) string

GoHeader returns the standard generated file header for Go files

func ShHeader

func ShHeader(name string) string

ShHeader returns the standard generated file header for shell/yaml files

Types

type Data

type Data struct {
	ProjectName string
	ModuleName  string
	GoVersion   string
	ForgeRoot   string
}

Data holds template context data

Jump to

Keyboard shortcuts

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