printer

package
v0.0.0-...-973c644 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TabPrinter   = 0
	TablePrinter = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer interface {
	PrintTopics([]*models.Topic)
	PrintTopicDesc(*models.TopicDesc)
	PrintNodes([]*models.Node)
	PrintGroups([]*models.Group)
	PrintGroupDescription(group *models.GroupDesc)
}

func NewPrinter

func NewPrinter(t Type, out io.Writer) Printer

type Type

type Type int

Jump to

Keyboard shortcuts

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