A fantastic modular Go web framework with a slim core but limitless extensibility
Flamego is a fantastic modular Go web framework with a slim core but limitless extensibility.
It is the successor of the Macaron, and equips the most powerful routing syntax among all web frameworks within the Go ecosystem.
The minimum requirement of Go is 1.19.
go get github.com/flamego/flamego
package main
import "github.com/flamego/flamego"
func main() {
f := flamego.Classic()
f.Get("/", func() string {
return "Hello, Flamego!"
})
f.Run()
}
Install "go-mockgen" and "goimports" to re-generate mocks:
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@latest
go install golang.org/x/tools/cmd/goimports@latest
go generate ./...
This project is under the MIT License. See the LICENSE file for the full license text.