thread

package
v0.137.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(entries []*store.ThreadEntry) string

Render renders thread entries to markdown. When entries come from multiple wings, the wing origin is shown in the header.

func RenderDay

func RenderDay(s *store.Store, date time.Time, budget int) (string, error)

RenderDay fetches entries for a given day and renders them within budget.

func RenderWithBudget

func RenderWithBudget(entries []*store.ThreadEntry, budget int) string

RenderWithBudget renders entries newest-first, dropping oldest entries until the rendered output fits within budget characters. If budget <= 0, all entries are rendered.

Types

This section is empty.

Jump to

Keyboard shortcuts

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