Help us shape the future of Go! Take the 2026 Go Developer Survey

templates

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package templates ships the embedded scaffolds used by `docket init`.

The init command reads these files from the embedded FS, renders them through text/template (with custom delimiters so sigil syntax in the body is preserved), and writes the result to disk.

Index

Constants

This section is empty.

Variables

Names follow default.<codec>.tmpl / minimal.<codec>.tmpl, where <codec> is a canonical recipe format name, so init picks a template without branching on the format. The glob is deliberately open-ended to let a new format add its pair without touching this file; TestEveryCodecHasInitTemplates is what turns a missing pair into a test failure rather than a runtime error at `docket init --format <new>`.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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