gen_go

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenGoV3

func NewGenGoV3(rt *root.RootObj) any

func NewGenTypeExprV3

func NewGenTypeExprV3() opts.Opts

Types

type DeclCodeGen

type DeclCodeGen struct {
	Package     string
	ImportAlias map[string]string
	Imports     []string
	Decl        adlast.Decl
}

type GenAstInfo

type GenAstInfo struct {
	ModuleName    string
	Pkg           string
	RelOutputFile string
}

func (*GenAstInfo) Set

func (im *GenAstInfo) Set(text string) error

type GenAstInfos

type GenAstInfos []GenAstInfo

func (*GenAstInfos) Set

func (ims *GenAstInfos) Set(text string) error

type ImportMap

type ImportMap struct {
	ModuleName   string
	Name         string
	Path         string
	RelOutputDir *string `json:",omitempty"`
	// contains filtered or unexported fields
}

func (*ImportMap) Set

func (im *ImportMap) Set(text string) error

type ImportMaps

type ImportMaps []ImportMap

func (*ImportMaps) Set

func (ims *ImportMaps) Set(text string) error

type ModuleCodeGen

type ModuleCodeGen struct {
	Directory []string
	File      []DeclCodeGen
}

Jump to

Keyboard shortcuts

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