utils

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 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

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

func (*CodeWriter) IWritef

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

func (*CodeWriter) Indent

func (w *CodeWriter) Indent()

func (*CodeWriter) Unindent

func (w *CodeWriter) Unindent()

func (*CodeWriter) WriteIndent

func (w *CodeWriter) WriteIndent() error

func (*CodeWriter) Writef

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