export

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package export renders caller-visible board content as Markdown and zip entries. It receives already authorized read models and never changes the board.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	Board      board.Board
	Server, By string
	At         time.Time
	BriefName  string
	Brief      []byte
	Tasks      []board.Task
	Messages   []board.Message
	Files      []board.File
}

Document holds only the content selected by ordinary board reads.

func (Document) Markdown

func (d Document) Markdown() string

Markdown renders the complete document with fixed section ordering.

func (Document) TaskMarkdown

func (d Document) TaskMarkdown() string

TaskMarkdown groups tasks by their current state, live work first, each group ordered by task number.

func (Document) TimelineMarkdown

func (d Document) TimelineMarkdown() string

TimelineMarkdown nests visible replies under visible roots without naming hidden roots.

func (Document) Zip

func (d Document) Zip(w io.Writer, open func(board.File) (io.ReadCloser, error)) error

Zip writes documents and unchanged latest bytes; open must authorize the exact file version. Every entry is dated at the export time.

Jump to

Keyboard shortcuts

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