util

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TypeToString

func TypeToString(ty resolve.Type) (string, error)

Types

type CodeWriter added in v0.4.0

type CodeWriter struct {
	Writer    io.Writer
	IndentStr string
	// contains filtered or unexported fields
}

func (*CodeWriter) IWritef added in v0.4.0

func (w *CodeWriter) IWritef(format string, a ...any) error

func (*CodeWriter) Indent added in v0.4.0

func (w *CodeWriter) Indent()

func (*CodeWriter) Unindent added in v0.4.0

func (w *CodeWriter) Unindent()

func (*CodeWriter) WriteIndent added in v0.4.0

func (w *CodeWriter) WriteIndent() error

func (*CodeWriter) Writef added in v0.4.0

func (w *CodeWriter) Writef(format string, a ...any) error

Jump to

Keyboard shortcuts

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