1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-21 15:50:56 +00:00
beego mirror
Go to file
2020-08-11 12:06:02 +08:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache Format code 2020-07-22 23:00:06 +08:00
config Depracated config module and recommend using pkg/config 2020-08-08 13:26:30 +00:00
context Merge remote-tracking branch 'origin/develop' into ftr/middleware 2020-08-04 22:26:01 +08:00
grace uing pkg module 2020-07-29 14:42:27 +00:00
httplib deprecated httplib and then support prometheus for httplib 2020-08-09 14:59:41 +00:00
logs Merge remote-tracking branch 'origin/develop' into ftr/middleware 2020-08-04 22:26:01 +08:00
metric Support prometheus and opentracing filter 2020-08-04 23:15:42 +08:00
migration Beego skipping some migrations 2019-05-17 16:19:26 +05:30
orm Merge pull request #4114 from wangle201210/develop-2.0 2020-07-30 16:51:02 +08:00
pkg rm some methods 2020-08-11 12:06:02 +08:00
plugins Update apiauth.go fixed infinite recursive call 2019-03-14 09:14:12 -04:00
scripts add tag interfaces and remove log.go 2020-07-28 06:28:51 +00:00
session Format code 2020-07-22 23:00:06 +08:00
swagger Swagger: 2018-03-10 17:15:24 +08:00
test Fix UT 2020-08-05 07:25:34 +00:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox Format code 2020-07-22 23:00:06 +08:00
utils Fix UT 2020-08-05 07:25:34 +00:00
validation Format code 2020-07-22 23:00:06 +08:00
.gitignore Fix UT 2020-08-05 07:25:34 +00:00
.travis.yml Fix orm test when using Driver = mysql 2020-07-19 12:56:58 +00:00
admin_test.go support filter chain 2020-08-04 07:26:51 +00:00
admin.go Deprecated old web module 2020-08-05 21:57:20 +08:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go Deprecated old web module 2020-08-05 21:57:20 +08:00
beego.go Deprecated old web module 2020-08-05 21:57:20 +08:00
build_info.go Deprecated old web module 2020-08-05 21:57:20 +08:00
config_test.go static file module:make cache file size and cache file numbers configurable 2020-06-02 18:22:47 +08:00
config.go Deprecated old web module 2020-08-05 21:57:20 +08:00
CONTRIBUTING.md Merge remote-tracking branch 'origin/develop' into ftr/middleware 2020-08-04 22:26:01 +08:00
controller_test.go gofmt simplify 2017-04-20 10:56:09 +08:00
controller.go Deprecated old web module 2020-08-05 21:57:20 +08:00
doc.go Deprecated old web module 2020-08-05 21:57:20 +08:00
error_test.go fix the gosimple 2017-07-19 00:37:42 +08:00
error.go Deprecated old web module 2020-08-05 21:57:20 +08:00
filter_test.go change to logs 2016-03-25 10:31:48 +08:00
filter.go Deprecated old web module 2020-08-05 21:57:20 +08:00
flash_test.go add go simple support 2017-03-17 20:22:20 +02:00
flash.go Deprecated old web module 2020-08-05 21:57:20 +08:00
fs.go Deprecated old web module 2020-08-05 21:57:20 +08:00
go.mod fix comment router generate issue 2020-08-08 16:17:12 +08:00
go.sum Support prometheus and opentracing filter 2020-08-04 23:15:42 +08:00
hooks.go fix: add error code support 2020-07-08 18:09:01 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
mime.go fix the typo 2016-08-17 22:56:21 +08:00
namespace_test.go add go simple support 2017-03-17 20:22:20 +02:00
namespace.go Deprecated old web module 2020-08-05 21:57:20 +08:00
parser.go Update parser.go 2020-04-26 19:26:10 +08:00
policy.go Deprecated old web module 2020-08-05 21:57:20 +08:00
README.md update README.md 2020-07-10 09:58:06 +08:00
router_test.go refactor: log error when payload too large 2020-07-09 09:45:40 +08:00
router.go Deprecated old web module 2020-08-05 21:57:20 +08:00
staticfile_test.go add cache-hit test example 2020-05-09 10:44:37 +08:00
staticfile.go Format code 2020-07-22 23:00:06 +08:00
template_test.go Fix UT 2020-08-05 07:25:34 +00:00
template.go Deprecated old web module 2020-08-05 21:57:20 +08:00
templatefunc_test.go fix: adding test for issue due to testing is not reflect changed 2019-01-25 09:04:01 +07:00
templatefunc.go Deprecated old web module 2020-08-05 21:57:20 +08:00
tree_test.go fix routing bug for splat 2017-03-10 09:28:25 +08:00
tree.go Deprecated old web module 2020-08-05 21:57:20 +08:00
unregroute_test.go fix golint comments 2017-11-25 19:18:37 +02: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

Create hello directory, cd hello directory

mkdir hello
cd hello

Init module

go mod init

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