zod

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClientCode added in v0.2.0

func GenerateClientCode(w io.Writer, server *client.Server) error

func GenerateField

func GenerateField(w io.Writer, field *resolve.Field)

func GenerateType

func GenerateType(w io.Writer, ty resolve.Type)

func GenerateTypeCode added in v0.2.0

func GenerateTypeCode(w io.Writer, resolver *resolve.Resolver) error

Types

type CodeWriter added in v0.2.0

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

func (*CodeWriter) IWritef added in v0.2.0

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

func (*CodeWriter) Indent added in v0.2.0

func (w *CodeWriter) Indent()

func (*CodeWriter) Unindent added in v0.2.0

func (w *CodeWriter) Unindent()

func (*CodeWriter) WriteIndent added in v0.2.0

func (w *CodeWriter) WriteIndent() error

func (*CodeWriter) Writef added in v0.2.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