Skip to content

Instantly share code, notes, and snippets.

@mkmik
Created November 15, 2013 01:05
Show Gist options
  • Save mkmik/7477450 to your computer and use it in GitHub Desktop.
Save mkmik/7477450 to your computer and use it in GitHub Desktop.
how to use http://martini.codegangsta.io/ with google app engine
package hello
import (
"net/http"
"github.com/codegangsta/martini"
)
func init() {
m := martini.Classic()
m.Get("/", func() string {
return "Martini on app engine!"
})
http.Handle("/", m)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment