Home

GeorgeNava edited this page Jul 16, 2011 · 16 revisions
Clone this wiki locally

Welcome to the app.go wiki!

To use app.go just copy it to your root folder like this:

/hello
- /app  <-- here
- /db   <-- 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.