display

package
v0.0.0-...-ac4698a Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer interface {
	Write(search.Use) error
	Flush() error
}

func NewJSONWriter

func NewJSONWriter(w io.Writer) Writer

func NewNodeDotWriter

func NewNodeDotWriter(w io.Writer, opt ...WriterOption) Writer

func NewPackageDotWriter

func NewPackageDotWriter(w io.Writer, opt ...WriterOption) Writer

type WriterConfig

type WriterConfig struct {
	// contains filtered or unexported fields
}

type WriterOption

type WriterOption func(*WriterConfig)

func WithWriterMaxFontsize

func WithWriterMaxFontsize(v int) WriterOption

func WithWriterMaxPenwidth

func WithWriterMaxPenwidth(v int) WriterOption

func WithWriterMaxWeight

func WithWriterMaxWeight(v int) WriterOption

func WithWriterMinFontsize

func WithWriterMinFontsize(v int) WriterOption

func WithWriterMinPenwidth

func WithWriterMinPenwidth(v int) WriterOption

func WithWriterMinWeight

func WithWriterMinWeight(v int) WriterOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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