facade

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess = iota
	ExitFailure
)

Exit Status List

Variables

View Source
var (
	ErrFacadeTest = errors.New("facade test")
)

Errors

Functions

This section is empty.

Types

type Facade

type Facade struct {
	//UI is Command line user interface
	*gocli.UI
	// Name of application
	Name string
	//Version of application
	Version string
	// GoVersion of go version
	GoVersion string
	// contains filtered or unexported fields
}

Facade of facade context

func NewFacade

func NewFacade(appName, version, goVer string, ui *gocli.UI) *Facade

NewFacade returns a new Facade instance

func (*Facade) Run

func (f *Facade) Run(args []string) (code int, err error)

Run Application

Jump to

Keyboard shortcuts

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