Documentation ¶ Index ¶ func AddPipe(p pipe.Pipe) func GetPipesByName(nm ...string) []pipe.Pipe type Gen func New(parser *parser.AppParser) *Gen func (gen *Gen) AddPipe(modules ...pipe.Pipe) func (gen *Gen) Build(cfg *pipe.TmplCfg) error func (gen *Gen) BuildDir(dir string, args []string) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddPipe ¶ func AddPipe(p pipe.Pipe) AddPipe defined addPipe func GetPipesByName ¶ func GetPipesByName(nm ...string) []pipe.Pipe GetPipesByName defined getbyname Types ¶ type Gen ¶ type Gen struct { Parser *parser.AppParser Pipes []pipe.Pipe } Gen struct func New ¶ func New(parser *parser.AppParser) *Gen New defined gen func (*Gen) AddPipe ¶ func (gen *Gen) AddPipe(modules ...pipe.Pipe) AddPipe add pipe func (*Gen) Build ¶ func (gen *Gen) Build(cfg *pipe.TmplCfg) error BuildWithCfg defined func (*Gen) BuildDir ¶ func (gen *Gen) BuildDir(dir string, args []string) (err error) BuildDir defined Source Files ¶ View all Source files generate.go Directories ¶ Show internal Expand all Path Synopsis modules pipe template bin Click to show internal directories. Click to hide internal directories.