templates

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package templates provides gitrakz's built-in template library: a small set of deterministic, Builtin=true templates seeded into the templates table on every service boot, so the template runner and templates manager have something to run before any user or LLM-authored template exists.

Index

Constants

View Source
const (
	IDActivitySummary       = "builtin-activity-summary"
	IDCommitsPerRepo        = "builtin-commits-per-repo"
	IDWorkSessionsTimesheet = "builtin-work-sessions-timesheet"
)

Built-in template IDs. Stable across boots so re-seeding always upserts the same rows (see db.Store.SaveTemplate) instead of accumulating duplicates.

Variables

This section is empty.

Functions

func Builtins

func Builtins() []template.Template

Builtins returns gitrakz's built-in template library. Every call builds a fresh slice (and fresh nested slices/maps), so a caller mutating the result cannot affect a later call.

Types

This section is empty.

Jump to

Keyboard shortcuts

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