1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 06:00:55 +00:00
beego mirror
Go to file
2019-03-27 13:40:34 +08:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache all: simplify boolean expressions 2019-02-09 17:18:59 +03:00
config config/yaml: s/bytes.NewBuffer/bytes.NewReader/ 2019-02-10 20:37:43 +03:00
context improve the download func code 2019-01-23 12:36:14 +08:00
grace spelling mistake of word "Header" 2019-03-04 11:05:29 +08:00
httplib TestToJson bug fixed 2019-03-07 17:15:30 +08:00
logs logger_test imported and not used: "bytes" 2019-03-12 16:36:00 +08:00
migration undefined: beego.BeeLogger fixed 2019-03-13 09:41:13 +08:00
orm Update db.go 2019-03-26 01:00:04 +08:00
plugins Update apiauth.go fixed infinite recursive call 2019-03-14 09:14:12 -04:00
session Merge pull request #3522 from saromanov/check-input-data 2019-02-25 23:17:57 +08:00
swagger Swagger: 2018-03-10 17:15:24 +08:00
testdata feat(Template): testing fs bindata 2018-11-05 22:58:59 +06:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox Merge pull request #3387 from wuyumin/master 2018-11-13 14:51:41 +08:00
utils breaks rely on TestNewBeeMap 2018-08-01 10:24:39 +08:00
validation add new test case for china mobile phone 2018-12-30 20:51:21 +08:00
vendor update vendor & module 2018-11-28 16:05:15 +08:00
.gitignore ignore .vscode folder 2016-12-29 22:30:56 +01:00
.travis.yml Merge pull request #3554 from grahamjamesaddis/travis-ci-build 2019-03-26 19:24:06 +08:00
admin_test.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
admin.go better format 2018-11-26 23:19:05 +08:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go move log function to log package 2019-03-12 17:01:23 +08:00
beego.go v1.11.1 2018-11-22 13:10:52 +08:00
config_test.go Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
config.go AutoCert 2018-07-20 18:53:57 +02:00
CONTRIBUTING.md add CONTRIBUTING.md 2016-01-13 22:02:36 +08:00
controller_test.go gofmt simplify 2017-04-20 10:56:09 +08:00
controller.go handle trace request must NOT CACHE 2019-03-27 13:40:34 +08:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
error_test.go fix the gosimple 2017-07-19 00:37:42 +08:00
error.go Make LogAccess public 2019-02-14 16:30:25 +01:00
filter_test.go change to logs 2016-03-25 10:31:48 +08:00
filter.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07:00
flash_test.go add go simple support 2017-03-17 20:22:20 +02:00
flash.go typo fixed 2016-01-15 14:07:37 +08:00
fs.go make staticcheck happy 2019-01-22 19:09:57 +08:00
go.mod fix: when parse post form it didnt parse fields which have same name but the first index is empty but another is not 2019-01-25 00:15:40 +07:00
go.sum fix: when parse post form it didnt parse fields which have same name but the first index is empty but another is not 2019-01-25 00:15:40 +07:00
hooks.go better format 2018-11-26 23:19:05 +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 make staticcheck happy 2019-01-22 19:09:57 +08:00
parser.go [Fix] Fix the issue that genRouterCode incorrect logic results in @Import annotations getting overwritten 2019-03-24 14:41:28 +08:00
policy.go golint 2017-04-29 09:13:28 +08:00
README.md Added link to ranking 2018-09-24 18:33:56 +02:00
router_test.go make staticcheck happy 2019-01-22 19:09:57 +08:00
router.go handle trace request 2019-03-27 13:34:46 +08:00
staticfile_test.go Fix Unexpected EOF bug in staticfile 2018-05-07 13:51:05 +05:30
staticfile.go fix / can use dynamic directory 2018-10-01 15:16:35 +08:00
template_test.go feat(Template): use interface http.FileSystem 2018-11-06 20:06:21 +06:00
template.go Register .gohtml extension 2019-02-23 22:49:32 +01: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 Merge pull request #3503 from wtospit/develop 2019-02-04 11:23:23 +08:00
tree_test.go fix routing bug for splat 2017-03-10 09:28:25 +08:00
tree.go comment edit 2017-08-03 19:15:32 +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.

Response time ranking: web-frameworks.

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.

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