entry

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package entry provides access to entry template files embedded in the assets filesystem. Entry templates are Markdown scaffolds used when adding new decisions, learnings, tasks, or conventions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForName

func ForName(name string) ([]byte, error)

ForName reads an entry template by name.

Parameters:

  • name: Template filename (e.g., "decision.md")

Returns:

  • []byte: Template content from entry-templates/
  • error: Non-nil if the file is not found or read fails

func List

func List() ([]string, error)

List returns available entry template file names.

Returns:

  • []string: List of template filenames in entry-templates/
  • error: Non-nil if directory read fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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