beego mirror
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
astaxie 32ee728078
Merge pull request #3586 from astaxie/develop
il y a 5 mois
.github update issue template il y a 3 ans
cache Incr和Decr应该改成排它锁,否则在并发的时候会出现非期望的结果值 il y a 7 mois
config config/yaml: s/bytes.NewBuffer/bytes.NewReader/ il y a 10 mois
context fix concurrent map access problem on BeegoInput.data il y a 6 mois
grace spelling mistake of word "Header" il y a 9 mois
httplib TestToJson bug fixed il y a 9 mois
logs logger_test imported and not used: "bytes" il y a 9 mois
migration Beego skipping some migrations il y a 7 mois
orm Merge pull request #3689 from GeorgeXc/addStmt il y a 5 mois
plugins Update apiauth.go fixed infinite recursive call il y a 9 mois
session Merge pull request #3522 from saromanov/check-input-data il y a 9 mois
swagger Swagger: il y a 1 an
testdata feat(Template): testing fs bindata il y a 1 an
testing golint testing il y a 4 ans
toolbox fix race problem on toolbox/task il y a 8 mois
utils email的Attach和AttachFile 的参数检查逻辑有误。len(args) < 1 && len(args) > 2 改为 len(args) < 1 || len(args) > 2 il y a 5 mois
validation add new test case for china mobile phone il y a 11 mois
vendor update vendor & module il y a 1 an
.gitignore ignore .vscode folder il y a 3 ans
.travis.yml update travis il y a 8 mois
CONTRIBUTING.md add CONTRIBUTING.md il y a 3 ans
LICENSE update all files License il y a 5 ans
README.md Added link to ranking il y a 1 an
admin.go better format il y a 1 an
admin_test.go Add map shortcut and ServeFormatted method in output il y a 1 an
adminui.go fix #1877 il y a 3 ans
app.go move log function to log package il y a 9 mois
beego.go v1.12.0 il y a 5 mois
config.go AutoCert il y a 1 an
config_test.go Add map shortcut and ServeFormatted method in output il y a 1 an
controller.go it's no need to override Trace method. il y a 8 mois
controller_test.go gofmt simplify il y a 2 ans
doc.go fix typo il y a 3 ans
error.go Make LogAccess public il y a 10 mois
error_test.go fix the gosimple il y a 2 ans
filter.go adds ability to reset params after a filter runs il y a 3 ans
filter_test.go change to logs il y a 3 ans
flash.go typo fixed il y a 3 ans
flash_test.go add go simple support il y a 2 ans
fs.go make staticcheck happy il y a 10 mois
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 il y a 10 mois
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 il y a 10 mois
hooks.go better format il y a 1 an
log.go // Deprecated: use github.com/astaxie/beego/logs instead. il y a 8 mois
mime.go fix the typo il y a 3 ans
namespace.go make staticcheck happy il y a 10 mois
namespace_test.go add go simple support il y a 2 ans
parser.go make routers configurable for beego multi-instance in the same repo il y a 7 mois
policy.go golint il y a 2 ans
router.go router.go: add comment func LogAccess il y a 5 mois
router_test.go make staticcheck happy il y a 10 mois
staticfile.go fix / can use dynamic directory il y a 1 an
staticfile_test.go Fix Unexpected EOF bug in staticfile il y a 1 an
template.go Register .gohtml extension il y a 9 mois
template_test.go feat(Template): use interface http.FileSystem il y a 1 an
templatefunc.go fix bugs of ParseForm about time in RFC3339 format il y a 6 mois
templatefunc_test.go fix: adding test for issue due to testing is not reflect changed il y a 10 mois
tree.go comment edit il y a 2 ans
tree_test.go fix routing bug for splat il y a 2 ans
unregroute_test.go fix golint comments il y a 2 ans

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.

Response time ranking: web-frameworks.

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