The easiest way to create web applications with Go


Install it

Web.go assumes you have a working Go environment. If you do installation is a breeze:

go get github.com/hoisie/web

Getting started

This is a simple hello world web application, written in Go:

package main

import (

func hello(val string) string { 
    return "hello " + val 

func main() {
    web.Get("/(.*)", hello)

Run it

Put the above code in a file called hello.go. To run it, simply run the following command

go run hello.go

Then point your browser to http://localhost:9999/world


For more detailed information about writing apps in web.go, check out the tutorial


Follow development of web.go on github