source

package
v0.0.0-...-713993e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Lines []fmt.Stringer
	// contains filtered or unexported fields
}

func (Block) String

func (y Block) String() string

type Import

type Import struct {
	MaxNameLen int
	Name       string
	Alias      string
}

func (Import) String

func (y Import) String() string

type Line

type Line string

func Linef

func Linef(format string, a ...any) Line

func (Line) String

func (y Line) String() string

type NewLine

type NewLine struct{}

func (NewLine) String

func (y NewLine) String() string

type PrefixBlock

type PrefixBlock struct {
	Prefix fmt.Stringer
	Block  Block
	Suffix fmt.Stringer
	// contains filtered or unexported fields
}

func (PrefixBlock) String

func (y PrefixBlock) String() string

Jump to

Keyboard shortcuts

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