Zippy web framework for Go.
A zippy web micro-framwork. Just a tiny bit of sugar for Go's excellent
net/http package. Inspired by bottle, express, web.go, etc.
Zip can be installed with go get:
$ go get zeekay.io/zip
A simple hello world web app looks like this:
package main
import "zeekay.io/zip"
func main() {
zip.Get("/", func(req zip.Req, res zip.Res) {
res.WriteString("hello world!")
})
zip.Listen(":1337")
}
You can run the server with go run:
$ go run hello.go
There are a few examples in examples/ for you to play with: