Skip to content

Instantly share code, notes, and snippets.

@takuan-osho
Last active January 3, 2016 11:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save takuan-osho/8454383 to your computer and use it in GitHub Desktop.
package main
import (
"github.com/codegangsta/martini"
)
func main() {
// Martini setup
m := martini.Classic()
// Routing
m.Get("/", func() string {
return "Hello world!"
})
// Run Martini
m.Run()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment