output

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	SearchContent string
	Detailed      bool
	Pretty        bool
	SearchTags    []string
}

Options for how output should be printed to the terminal.

type Printer

type Printer interface {
	PrintNotes([]*models.Note, Options)
	PrintNote(*models.Note, Options)
}

func NewPrinter

func NewPrinter() Printer

Jump to

Keyboard shortcuts

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