tabout

package
v0.0.0-...-81b45a2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tabout - Tabular text output, convenience wrapper over "text/tabwriter"

Copyright (c) 2014 Ohmu Ltd. Licensed under the Apache License, Version 2.0 (see LICENSE)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TabOutput

type TabOutput struct {
	*tabwriter.Writer
	// contains filtered or unexported fields
}

func New

func New(fields []string, enabled map[string]bool) *TabOutput

func (*TabOutput) Flush

func (t *TabOutput) Flush() error

func (*TabOutput) SetFields

func (t *TabOutput) SetFields(fields []string)

func (*TabOutput) Write

func (t *TabOutput) Write(values map[string]string) error

Jump to

Keyboard shortcuts

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