internal2

package
v0.0.0-...-968f95e Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 11 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
}

func NewFile

func NewFile(fileName string, pkg *Package) *File

func (*File) GetPublicTypeNames

func (f *File) GetPublicTypeNames() []string

type Generator

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

func (*Generator) InjectAllTypes

func (g *Generator) InjectAllTypes()

func (*Generator) ParsePackage

func (g *Generator) ParsePackage(pkgPath string)

func (*Generator) WriteFile

func (g *Generator) WriteFile(fileName string) error

type Package

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

func NewPackage

func NewPackage(path string) *Package

func (*Package) GetPkg

func (p *Package) GetPkg() string

func (*Package) GetPublicTypeNames

func (p *Package) GetPublicTypeNames() map[string][]string

Jump to

Keyboard shortcuts

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