net/http
and other native packages, and with zero external dependencies. net/http
net/http
which makes it a great choice for your next project. package main
import "github.com/gominima/minima"
func main() {
app := minima.New()
app.Get("/", func(res *minima.Response, req *minima.Request) {
res.OK().Send("Hello World")
})
app.Listen(":3000")
}
net/http
with a custom handler. Use it as a net/http
wrapper or as an independent framework. Your choice. go get github.com/gominima/minima
package main
import "github.com/gominima/minima"
func main() {
app := minima.New()
app.Listen(":3000")
}