formatter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package formatter is a backend that generates a formated version of the given gochart.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFormatterGochartBackend

func NewFormatterGochartBackend(opts ...option.Option) (*formatterGochartBackend, error)

func WithDebug

func WithDebug(debug bool) option.Option

Types

type IndentedWriter

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

func NewIndentedWriter

func NewIndentedWriter() *IndentedWriter

func (*IndentedWriter) MustDecreateIndent

func (iw *IndentedWriter) MustDecreateIndent()

func (*IndentedWriter) MustIncreaseIndent

func (iw *IndentedWriter) MustIncreaseIndent()

func (*IndentedWriter) String

func (iw *IndentedWriter) String() string

func (*IndentedWriter) Write

func (iw *IndentedWriter) Write(p []byte) (int, error)

func (*IndentedWriter) WriteIgnoreIndent

func (iw *IndentedWriter) WriteIgnoreIndent(p []byte) (int, error)

type Options

type Options struct {
	Debug bool
}

Jump to

Keyboard shortcuts

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