Versions in this module Expand all Collapse all v1 v1.0.0 Jul 25, 2017 Changes in this version + var Helpers = map[string]interface + func GoFmt(files ...string) *exec.Cmd + func GoGet(pkg string, opts ...string) *exec.Cmd + func GoInstall(pkg string, opts ...string) *exec.Cmd + type Command struct + Command *exec.Cmd + Should ShouldFunc + func NewCommand(cmd *exec.Cmd) Command + func (c Command) Run(rootPath string, data Data) error + type Data map[string]interface + type File struct + Path string + Permission os.FileMode + Should ShouldFunc + Template string + TemplateFuncs template.FuncMap + func NewFile(path string, t string) File + func (f File) Run(rootPath string, data Data) error + type Func struct + Runner RunFn + Should ShouldFunc + func (f Func) Run(rootPath string, data Data) error + type Generator struct + Data Data + Runners []Runnable + Should ShouldFunc + func New() *Generator + func (g *Generator) Add(r Runnable) + func (g *Generator) Run(rootPath string, data Data) error + type RemoteFile struct + RemotePath string + func (f RemoteFile) Run(rootPath string, data Data) error + type RunFn func(string, Data) error + type Runnable interface + Run func(string, Data) error + type ShouldFunc func(Data) bool