template

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Brainstorm = "brainstorm"
	Meeting    = "meeting"
	Lecture    = "lecture"
	Notes      = "notes"
)

Template name constants. Use these instead of string literals for compile-time safety.

Variables

View Source
var ErrUnknown = errors.New("unknown template")

ErrUnknown indicates an invalid template name was specified.

Functions

func Get

func Get(name string) (string, error)

Get returns the prompt for the given template name. Returns ErrUnknown if the name is not recognized.

func Names

func Names() []string

Names returns the list of available template names. The order is stable and matches the spec (brainstorm, meeting, lecture).

Types

This section is empty.

Jump to

Keyboard shortcuts

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