Package macaron is a high productive and modular design web framework in Go.
To install Macaron:
go get github.com/Unknwon/macaron
The very basic usage of Macaron:
package main
import "github.com/Unknwon/macaron"
func main() {
m := macaron.Classic()
m.Get("/", func() string {
return "Hello world!"
})
m.Run()
}- Powerful routing with suburl.
- Flexible routes combinations.
- Unlimited nested group routers.
- Easy to plugin/unplugin features with modular design.
- Handy dependency injection powered by inject.
- Better router layer and less reflection make faster speed.
- Basic design of Martini.
- Router layer of beego.
- Logo is modified by @insionng based on Tribal Dragon.
This project is under Apache v2 License. See the LICENSE file for the full license text.
