module

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator added in v0.1.3

type Generator interface {
	ProjectGenerator
}

Generator creates files from templates and given params.

type ProjectGenerator added in v0.2.0

type ProjectGenerator interface {
	GenerateProject(rootDir, pkgName string) error
}

ProjectGenerator is an interface to build a new project.

type Script added in v0.1.3

type Script interface {
	Name() string
	Build(args ...string) error
	Run(args ...string) error
}

Script represents an user-defined command.

type ScriptLoader added in v0.1.4

type ScriptLoader interface {
	Load(dir string) error
	Get(name string) (script Script, ok bool)
	Names() []string
}

ScriptLoader is a factory object for creating Script objects.

Directories

Path Synopsis
Package moduletesting is a generated GoMock package.
Package moduletesting is a generated GoMock package.

Jump to

Keyboard shortcuts

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