builder

package
v0.0.0-...-9634b85 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AST

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

func NewAST

func NewAST(f, export, rpcRepoPath string, notPanic ...bool) *AST

func (*AST) Parse

func (a *AST) Parse() *AST

func (*AST) ToGIN

func (a *AST) ToGIN() string

type Field

type Field map[Name]*Type

func ParseStruct

func ParseStruct(obj ast.Expr) (bool, Field)

type Name

type Name string

type Type

type Type struct {
	IsPointer bool
	IsArray   bool
	Name      string
}

func (*Type) String

func (t *Type) String() string

Jump to

Keyboard shortcuts

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