iox

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indent

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

func NewIndent

func NewIndent(step int) *Indent

func ZeroIndent

func ZeroIndent() *Indent

func (*Indent) Curr

func (i *Indent) Curr() string

func (*Indent) Next

func (i *Indent) Next() *Indent

type Writer

type Writer interface {
	WriteString(s string)
	WriteInline(s string)
	WriteNewLine()
	String() string

	IncIndent() Writer
	WithoutIndent() Writer
}

func NewWriter

func NewWriter(indent *Indent) Writer

Jump to

Keyboard shortcuts

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