program

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

type Program struct {

	// for rendering go src
	FunctionName string
	Indent       int
	ReturnType   string
	// contains filtered or unexported fields
}

func NewProgram

func NewProgram() *Program

func (*Program) AddImport

func (a *Program) AddImport(name string)

func (*Program) ImportType

func (a *Program) ImportType(name string) string

func (*Program) Imports

func (a *Program) Imports() []string

Jump to

Keyboard shortcuts

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