gencel

package
v3.24.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

type FuncDecl

type FuncDecl struct {
	Name        string     `json:"Name"`
	Args        []ast.Expr `json:"Args"`
	ReturnTypes []ast.Expr `json:"ReturnType"`
	Body        string     `json:"Body"`
	RecvType    string     `json:"RecvType"`
}

type Generator

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

func (*Generator) Generate

func (g *Generator) Generate()

func (*Generator) ParsePkg

func (g *Generator) ParsePkg(patterns ...string)

ParsePkg loads and adds the Go packages named by the given patterns.

type Ident

type Ident struct {
	Type       string
	GoType     string
	IsEllipsis bool
}

type Package

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

type PkgImport

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

type VariadicArg

type VariadicArg struct {
	Pos int

	Type string
}

Jump to

Keyboard shortcuts

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