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.
修改点
- 使用gomodule
- orm.DateTime json序列话时使用时间戳
Quick Start
Download and install
go get tianwei.pro/beego
Create file hello.go
package main
import "tianwei.pro/beego"
func main(){
beego.Run()
}
Build and run
go build hello.go
./hello
Congratulations! You've just built your first beego app.
Features
- RESTful support
- MVC architecture
- Modularity
- Auto API documents
- Annotation router
- Namespace
- Powerful development tools
- Full stack for Web & API
Documentation
License
beego source code is licensed under the Apache Licence, Version 2.0
(http://www.apache.org/licenses/LICENSE-2.0.html).