facade

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ExitSuccess = iota
	ExitFailure
)

Exit Status

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
	// contains filtered or unexported fields
}

Facade of facade context

func NewFacade

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

NewFacade returns a new Facade instance

func (*Facade) Run

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

Run Application

Jump to

Keyboard shortcuts

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