核心概念
经典 Macaron
m := macaron.Classic()
// ... 可以在这里使用中间件和注册路由
m.Run()Macaron 实例
处理器
m.Get("/", func() string {
return "hello world"
})返回值
服务注入
中间件机制
Macaron 环境变量
处理器工作流

Last updated
Was this helpful?