format

package
v0.0.0-...-b94449b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package format contains code to control the look of planner output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) string

func NewTabWriter

func NewTabWriter(w io.Writer) *tabwriter.Writer

func WriteTabHeader

func WriteTabHeader(w io.Writer, cols ...string)

func WriteTabRow

func WriteTabRow(w io.Writer, cols ...string)

Types

type DefaultFormatter

type DefaultFormatter struct{}

func (DefaultFormatter) OpComplete

func (fm DefaultFormatter) OpComplete(w io.Writer, name string, empty, changed, dirty, executed bool) error

Jump to

Keyboard shortcuts

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