A zippy web micro-framework. 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/zipA 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.End("hello world!")
})
// Run and listen on port 1337.
zip.Run(":1337")
}You can run the server with go run:
$ go run hello.goThere are a few examples in examples/ for you to play with: