Intelligent Paper Computer
Lesson 2 of 9
Last night I tweeted about a web framework for Go called Martini. Martini has a non-intrusive design, and has awesome routing and middleware support.
http://martini.codegangsta.io/
Below is a basic "Hello world!":
package main
import "github.com/codegangsta/martini"
func main() {
m := martini.Classic()
m.Get("/", func() string {
return "Hello world!"
})
m.Run()
}
So far the response has been fantastic, I am excited to see which ways the Golang community can come together to make something awesome:
Go check it out, you won't regret it. https://github.com/codegangsta/martini