Skip to content
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.

Clone this wiki locally