render

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package render contains small writer-based helpers that both CLI (plain text) and MCP (markdown) consume. It is a transitional home for code that will move into internal/presenter/ when the project gains a third output format (e.g. JSON over HTTP).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MDTimeLine

func MDTimeLine(w io.Writer, label string, t *time.Time)

MDTimeLine writes "**<label>:** <time>\n" to w if t != nil. No-op for nil.

func TimeLine

func TimeLine(w io.Writer, label string, t *time.Time)

TimeLine writes "<label>: <time>\n" to w if t != nil. No-op for nil. Time is formatted with model.DateTimeFormat for consistency across outputs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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