mirror of
https://github.com/astaxie/beego.git
synced 2025-01-22 14:57:13 +00:00
wulove
877b5c233e
增加编译模版函数BuildTemplate可变参数,使之支持单个或多个模版的编译,同时针对开发模式,每个请求只编译当前请求相关模版
增加编译模版函数BuildTemplate可变参数,使之支持单个或多个模版的编译,同时针对开发模式,每个请求只编译当前请求相关模版,不再每次请求都编译全部模版
Beego
beego is used for rapid development of RESTful APIs, web apps and backend services in Go. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.
More info beego.me
##Quick Start ######Download and install
go get github.com/astaxie/beego
######Create file hello.go
package main
import "github.com/astaxie/beego"
func main(){
beego.Run()
}
######Build and run
go build hello.go
./hello
######Congratulations!
You just built your first beego app.
Open your browser and visit http://localhost:8000
.
Please see Documentation for more.
Features
- RESTful support
- MVC architecture
- Modularity
- Auto API documents
- Annotation router
- Namespace
- Powerful development tools
- Full stack for Web & API
Documentation
Community
LICENSE
beego is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).
Description
Languages
Go
99.6%
Shell
0.4%