mirror of
https://github.com/astaxie/beego.git
synced 2024-11-05 04:20:54 +00:00
beego mirror
a768bf8f00
Due to the chosen-prefix collision in SHA-1(details at https://sha-mbles.github.io/), SHA-1 hash functions should to be deprecated and SHA-2/SHA-3 should be used instead. Signed-off-by: wang yan <wangyan@vmware.com> |
||
---|---|---|
.github | ||
cache | ||
config | ||
context | ||
grace | ||
httplib | ||
logs | ||
migration | ||
orm | ||
plugins | ||
session | ||
swagger | ||
testdata | ||
testing | ||
toolbox | ||
utils | ||
validation | ||
vendor | ||
.gitignore | ||
.travis.yml | ||
admin_test.go | ||
admin.go | ||
adminui.go | ||
app.go | ||
beego.go | ||
config_test.go | ||
config.go | ||
CONTRIBUTING.md | ||
controller_test.go | ||
controller.go | ||
doc.go | ||
error_test.go | ||
error.go | ||
filter_test.go | ||
filter.go | ||
flash_test.go | ||
flash.go | ||
fs.go | ||
go.mod | ||
go.sum | ||
hooks.go | ||
LICENSE | ||
log.go | ||
mime.go | ||
namespace_test.go | ||
namespace.go | ||
parser.go | ||
policy.go | ||
README.md | ||
router_test.go | ||
router.go | ||
staticfile_test.go | ||
staticfile.go | ||
template_test.go | ||
template.go | ||
templatefunc_test.go | ||
templatefunc.go | ||
tree_test.go | ||
tree.go | ||
unregroute_test.go |
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.
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).