Skip to content

Instantly share code, notes, and snippets.

@cdbkr
Created November 24, 2014 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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