👋 Welcome | Zinc

1 min read Original article ↗

Zinc is an Express-inspired Go API framework built on top of net/http.

If you like the ergonomics of frameworks such as Fiber or Express, but want to stay close to idiomatic Go and the standard library, Zinc is built for that shape of application.

package main

import (
"log"

"github.com/0mjs/zinc"
)

func main() {
app := zinc.New()

app.Get("/", func(c *zinc.Context) error {
return c.String("Hello, Zinc!")
})

log.Fatal(app.Listen(":8080"))
}

As of the latest peer-only suite, Zinc wins 65/85 rows overall and 65/77 non-throughput rows against Gin, Echo, and Chi.