tool

package
v0.0.0-...-02fd228 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package tool does the work of rendering output from templates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Code          *source.Source
	Template      *source.Source
	TargetPackage string
	Names         []string
	Packages      []string
	Interfaces    []string
	Structs       []string
	Funcs         []string
	Log           func(...interface{})
}

Job is a single job.

func (*Job) Execute

func (j *Job) Execute(w io.Writer) error

Execute runs the job and writes the output to the specified io.Writer.

Jump to

Keyboard shortcuts

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