api

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis
bin

Jump to

Keyboard shortcuts

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