Unknwon c37d3f6486 vendor: remove unnecessary sublime files | 7 éve | |
---|---|---|
.. | ||
LICENSE | 7 éve | |
README.md | 7 éve | |
context.go | 7 éve | |
logger.go | 7 éve | |
macaron.go | 7 éve | |
macaron.sublime-project | 7 éve | |
macaronlogo.png | 7 éve | |
recovery.go | 7 éve | |
render.go | 7 éve | |
response_writer.go | 7 éve | |
return_handler.go | 7 éve | |
router.go | 7 éve | |
static.go | 7 éve | |
tree.go | 7 éve |
Package macaron is a high productive and modular web framework in Go.
The minimum requirement of Go is 1.3.
To install Macaron:
go get gopkg.in/macaron.v1
The very basic usage of Macaron:
package main
import "gopkg.in/macaron.v1"
func main() {
m := macaron.Classic()
m.Get("/", func() string {
return "Hello world!"
})
m.Run()
}
Middlewares allow you easily plugin/unplugin features for your Macaron applications.
There are already many middlewares to simplify your work:
This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.