module

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 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

type Generator interface {
	ProjectGenerator
}

Generator creates files from templates and given params.

type ProjectGenerator

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

ProjectGenerator is an interface to build a new project.

type Script

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

Script represents an user-defined command.

type ScriptLoader

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