Web.go
Install it
Web.go assumes you have a working Go environment. If you do installation is a breeze:
git clone git://github.com/hoisie/web.go.git
cd web.go
make && make install
Getting started
This is a simple hello world web application, written in Go:
package main
import (
"web"
)
func hello(val string) string { return "hello " + val }
func main() {
web.Get("/(.*)", hello)
web.Run("0.0.0.0:9999")
}
Run it
Put the above code in a file called hello.go. To run it, simply run the following command
8g hello.go && 8l -o hello hello.8 && ./hello
Then point your browser to http://localhost:9999/world
Tutorial
For more detailed information about writing apps in web.go, check out the tutorial
Development
Follow development of web.go on github