Skip to content

Instantly share code, notes, and snippets.

@codegangsta
Created November 7, 2013 18:13
Show Gist options
  • Save codegangsta/7359252 to your computer and use it in GitHub Desktop.
Save codegangsta/7359252 to your computer and use it in GitHub Desktop.
package main
import (
"github.com/codegangsta/martini"
)
func main() {
m := martini.Classic()
m.Get("/", func() string {
return "hello world"
})
m.Run()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment