templates

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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