Created
May 11, 2014 08:57
-
-
Save yvasiyarov/7e33684f10df8ed8105d to your computer and use it in GitHub Desktop.
Hello world - martini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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