Skip to content

Instantly share code, notes, and snippets.

@yvasiyarov
Created May 11, 2014 08:57
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 yvasiyarov/7e33684f10df8ed8105d to your computer and use it in GitHub Desktop.
Save yvasiyarov/7e33684f10df8ed8105d to your computer and use it in GitHub Desktop.
Hello world - martini
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