Пример #1
0
// Go calls an app's Configure method and runs the command parser.
func Go() {
	if app == nil {
		panic("No call to SetApp found. Ensure that you've imported your app package you are calling SetApp outside of main.")
	}
	if err := app.Configure(); err != nil {
		panic(err)
	}
	env.Handler = app.Handler()
	quimby.Run()
}
Пример #2
0
func main() {
	quimby.Run()
}