output

package
v0.0.0-...-4e4122d Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderDateFormat  = "Monday January 2, 2006"
	FilenameBase      = "index"
	UnknownOutputMode = iota
	MarkdownOutputMode
	HTMLOutputMode
)

Variables

View Source
var ErrUnknownMode = fmt.Errorf("unknown mode")

Functions

func WriteItems

func WriteItems(db *pebble.DB, mode int, maxAge time.Duration) error

WriteItems read items from a bolt db and output them in the mode requested.

Types

This section is empty.

Jump to

Keyboard shortcuts

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