1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 09:30:54 +00:00
beego mirror
Go to file
2021-08-19 21:49:37 +08:00
.github Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
cache Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
config Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
context Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
grace Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
httplib Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
logs Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
metric Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
migration Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
orm Fix 4734: we don't need to reset the id to 0 2021-08-19 21:49:37 +08:00
plugins Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
scripts Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
session Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
swagger Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
testdata Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
testing Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
toolbox Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
utils Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
validation Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
.gitignore Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
.travis.yml Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
admin_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
admin.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
adminui.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
app.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
beego.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
build_info.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
config_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
config.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
CONTRIBUTING.md Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
controller_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
controller.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
doc.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
error_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
error.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
filter_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
filter.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
flash_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
flash.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
fs.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
go.mod Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
go.sum Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
hooks.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
log.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
mime.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
namespace_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
namespace.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
parser.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
policy.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
README.md Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
router_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
router.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
staticfile_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
staticfile.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
template_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
template.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
templatefunc_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
templatefunc.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
tree_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
tree.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00
unregroute_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 2020-11-26 17:48:29 +08:00

Beego Build Status GoDoc Foundation Go Report Card

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
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

License

beego source code is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).