Discover Packages
github.com/ActiveMemory/ctx
internal
assets
read
entry
package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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.
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
List returns available entry template file names.
Returns:
[]string: List of template filenames in entry-templates/
error: Non-nil if directory read fails
Source Files
¶
Click to show internal directories.
Click to hide internal directories.