gen

package
v0.0.0-...-5dce4d2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package gen contains the code-generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Eddie

type Eddie struct {
	BuildFlags []string
	Dir        string
	Logger     *log.Logger
	Name       string
	Outfile    string
	Packages   []string

	// For testing only, causes the compiled enforcer to be emitted
	// as a golang plugin.
	Plugin bool
	// contains filtered or unexported fields
}

Eddie generates a contract-enforcer binary. See discussion on the public API for details on the patterns that it looks for.

func (*Eddie) Execute

func (e *Eddie) Execute() error

Execute allows the generator to be invoked programmatically.

Jump to

Keyboard shortcuts

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