mirror of https://github.com/astaxie/beego.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
9 months ago | |
---|---|---|
.github | 2 years ago | |
cache | 2 years ago | |
config | 2 years ago | |
context | 2 years ago | |
grace | 2 years ago | |
httplib | 2 years ago | |
logs | 2 years ago | |
metric | 2 years ago | |
migration | 2 years ago | |
orm | 9 months ago | |
plugins | 2 years ago | |
scripts | 2 years ago | |
session | 2 years ago | |
swagger | 2 years ago | |
testdata | 2 years ago | |
testing | 2 years ago | |
toolbox | 2 years ago | |
utils | 2 years ago | |
validation | 2 years ago | |
.gitignore | 2 years ago | |
.travis.yml | 2 years ago | |
CONTRIBUTING.md | 2 years ago | |
LICENSE | 8 years ago | |
README.md | 2 years ago | |
admin.go | 2 years ago | |
admin_test.go | 2 years ago | |
adminui.go | 2 years ago | |
app.go | 2 years ago | |
beego.go | 2 years ago | |
build_info.go | 2 years ago | |
config.go | 2 years ago | |
config_test.go | 2 years ago | |
controller.go | 2 years ago | |
controller_test.go | 2 years ago | |
doc.go | 2 years ago | |
error.go | 2 years ago | |
error_test.go | 2 years ago | |
filter.go | 2 years ago | |
filter_test.go | 2 years ago | |
flash.go | 2 years ago | |
flash_test.go | 2 years ago | |
fs.go | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
hooks.go | 2 years ago | |
log.go | 2 years ago | |
mime.go | 2 years ago | |
namespace.go | 2 years ago | |
namespace_test.go | 2 years ago | |
parser.go | 2 years ago | |
policy.go | 2 years ago | |
router.go | 2 years ago | |
router_test.go | 2 years ago | |
staticfile.go | 2 years ago | |
staticfile_test.go | 2 years ago | |
template.go | 2 years ago | |
template_test.go | 2 years ago | |
templatefunc.go | 2 years ago | |
templatefunc_test.go | 2 years ago | |
tree.go | 2 years ago | |
tree_test.go | 2 years ago | |
unregroute_test.go | 2 years ago |
README.md
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 at 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
Go to http://localhost:8080
Congratulations! You've just built your first beego app.
Please see Documentation for more.
beego-example
Features
- RESTful support
- MVC architecture
- Modularity
- Auto API documents
- Annotation router
- Namespace
- Powerful development tools
- Full stack for Web & API
Documentation
Community
- http://beego.me/community
- Welcome to join us in Slack: https://beego.slack.com, you can get invited from here
- QQ Group Group ID:523992905
License
beego source code is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).