Skip to content

Instantly share code, notes, and snippets.

@cdbkr
Created November 24, 2014 14:42
Show Gist options
  • Save cdbkr/d2d32e6f21a2019c93df to your computer and use it in GitHub Desktop.
Save cdbkr/d2d32e6f21a2019c93df to your computer and use it in GitHub Desktop.
Simple Martini snippet Golang
package main
import "github.com/go-martini/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