-
Notifications
You must be signed in to change notification settings - Fork 8
Home
GeorgeNava edited this page Jul 6, 2011
·
16 revisions
Welcome to the app.go wiki!
To use app.go just copy it to your root folder like this:
/hello
- /app <-- here
- /hello
- app.yaml
The simplest program that runs is a "hello world" like this:
package hello
import "app"
function init(){
app.Start()
app.Get("/index",index)
}
function index(ctx app.Context){
ctx.Show("index") // index.html
}
Simplicity at its best. Give it a try and we guarantee you will never look back.