craft

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package craft is lfr's own research on newsletter craft, embedded in the binary: verbatim voices of readers and writers, peer newsletters, and evidence from standards, studies, benchmarks and guides. Projects cite it as lfr:V012, lfr:P003 or lfr:E031 next to their own research; lfr evidence prints it by dimension; rules and skills point into it.

Index

Constants

View Source
const Prefix = "lfr:"

Prefix marks citations of the built-in research.

Variables

This section is empty.

Functions

func Evidence

func Evidence(dimension string) []research.Evidence

Evidence returns the evidence that applies to a dimension (all for "").

func FormatEvidence

func FormatEvidence(e research.Evidence) string

FormatEvidence renders one evidence item.

func IDs

func IDs() map[string]bool

IDs returns the citable built-in IDs, with the lfr: prefix.

func Lookup

func Lookup(id string) (string, bool)

Lookup renders one built-in item ("lfr:E031", "E031", "V012", "P003") as Markdown, verbatim.

func Report

func Report() research.Report

Report is the parsed built-in research.

func Voice

func Voice(n int) (research.Voice, bool)

Voice returns one built-in voice by number.

Types

This section is empty.

Jump to

Keyboard shortcuts

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