Skip to content
beego is an open-source, high-performance web framework for the Go programming language.
Go
Branch: develop
Clone or download
astaxie Merge pull request #3841 from HKail/develop
添加16开头手机号验证
Latest commit 1923b8c Oct 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github update issue template Mar 23, 2016
cache Incr和Decr应该改成排它锁,否则在并发的时候会出现非期望的结果值 May 1, 2019
config config/yaml: s/bytes.NewBuffer/bytes.NewReader/ Feb 10, 2019
context
grace spelling mistake of word "Header" Mar 4, 2019
httplib TestToJson bug fixed Mar 7, 2019
logs logger_test imported and not used: "bytes" Mar 12, 2019
migration Beego skipping some migrations May 17, 2019
orm fix annotation on orm/utils Sep 8, 2019
plugins Update apiauth.go fixed infinite recursive call Mar 14, 2019
session Merge pull request #3522 from saromanov/check-input-data Feb 25, 2019
swagger Swagger: Mar 10, 2018
testdata feat(Template): testing fs bindata Nov 5, 2018
testing golint testing Sep 12, 2015
toolbox fix race problem on toolbox/task Apr 5, 2019
utils leak opened file Sep 27, 2019
validation 更新16开头手机号的正则测试 Oct 22, 2019
vendor update vendor & module Nov 28, 2018
.gitignore ignore .vscode folder Dec 29, 2016
.travis.yml update version 1.13 Sep 18, 2019
CONTRIBUTING.md add CONTRIBUTING.md Jan 13, 2016
LICENSE update all files License May 16, 2014
README.md Update README.md Oct 10, 2019
admin.go better format Nov 26, 2018
admin_test.go
adminui.go fix #1877 Sep 13, 2016
app.go move log function to log package Mar 12, 2019
beego.go v1.12.0 Jul 5, 2019
config.go AutoCert Jul 20, 2018
config_test.go
controller.go it's no need to override Trace method. Apr 3, 2019
controller_test.go gofmt simplify Apr 20, 2017
doc.go fix typo Jan 17, 2016
error.go Make LogAccess public Feb 14, 2019
error_test.go fix the gosimple Jul 18, 2017
filter.go adds ability to reset params after a filter runs Aug 7, 2016
filter_test.go change to logs Mar 25, 2016
flash.go typo fixed Jan 15, 2016
flash_test.go add go simple support Mar 17, 2017
fs.go make staticcheck happy Jan 22, 2019
go.mod update version 1.13 Sep 18, 2019
go.sum fix: when parse post form it didnt parse fields which have same name … Jan 24, 2019
hooks.go better format Nov 26, 2018
log.go // Deprecated: use github.com/astaxie/beego/logs instead. Apr 3, 2019
mime.go fix the typo Aug 17, 2016
namespace.go make staticcheck happy Jan 22, 2019
namespace_test.go add go simple support Mar 17, 2017
parser.go make routers configurable for beego multi-instance in the same repo Apr 22, 2019
policy.go golint Apr 29, 2017
router.go router.go: add comment func LogAccess Jun 25, 2019
router_test.go make staticcheck happy Jan 22, 2019
staticfile.go fix / can use dynamic directory Oct 1, 2018
staticfile_test.go Fix Unexpected EOF bug in staticfile May 7, 2018
template.go Register .gohtml extension Feb 23, 2019
template_test.go feat(Template): use interface http.FileSystem Nov 6, 2018
templatefunc.go fix bugs of ParseForm about time in RFC3339 format May 31, 2019
templatefunc_test.go fix: adding test for issue due to testing is not reflect changed Jan 25, 2019
tree.go fixed mispelled word Aug 20, 2017
tree_test.go fix routing bug for splat Mar 10, 2017
unregroute_test.go fix golint comments Nov 25, 2017

README.md

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

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

License

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

You can’t perform that action at this time.