gonerator

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 13 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
}

File holds a single parsed file and associated data.

type Gonerator

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

Gonerator co-ordinates the generation of code

func (*Gonerator) Build

func (g *Gonerator) Build(dir string, typeName string, templateFile string, outputFile string, extras string, dryRun, noop bool)

Build is the main method of this struct/program

func (*Gonerator) ParsePackageDir

func (g *Gonerator) ParsePackageDir(directory string)

ParsePackageDir finds all go files in the supplied directory

type Package

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

Package ...

Jump to

Keyboard shortcuts

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