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.
 
 
 
Ming Deng 8ef8fd2606
Merge pull request #4036 from astaxie/develop
il y a 6 jours
.github update issue template il y a 4 ans
cache make redis client idle timeout configurable il y a 1 semaine
config Fix validation test il y a 1 mois
context Using HTMLEscapeString in adminui.go to avoid XSS attack il y a 2 semaines
grace Merge pull request #3739 from nuczzz/develop il y a 2 semaines
httplib fix httplib PostFile method il y a 1 mois
logs Update es.go il y a 1 semaine
metric Add build info for prometheus il y a 1 semaine
migration Beego skipping some migrations il y a 1 an
orm Merge branch 'develop' of https://github.com/astaxie/beego into develop il y a 1 semaine
plugins Update apiauth.go fixed infinite recursive call il y a 1 an
scripts Add build info for prometheus il y a 1 semaine
session Move many PR's change here since the original authors are responseless il y a 1 semaine
swagger Swagger: il y a 2 ans
testdata feat(Template): testing fs bindata il y a 1 an
testing golint testing il y a 4 ans
toolbox Move many PR's change here since the original authors are responseless il y a 1 semaine
utils leak opened file il y a 9 mois
validation Merge pull request #4017 from guhan121/fix#4000 il y a 1 semaine
.gitignore ignore .vscode folder il y a 3 ans
.travis.yml Fix ledis il y a 1 mois
CONTRIBUTING.md add CONTRIBUTING.md il y a 4 ans
LICENSE update all files License il y a 6 ans
README.md Fix ES bug il y a 1 semaine
admin.go Add prometheus support il y a 2 semaines
admin_test.go static file module:make cache file size and cache file numbers configurable il y a 1 mois
adminui.go fix #1877 il y a 3 ans
app.go fix graceful bug il y a 3 semaines
beego.go upgrade version il y a 6 jours
build_info.go Add build info for prometheus il y a 1 semaine
config.go Merge pull request #3998 from guhan121/go_modules_route_compatibility il y a 1 semaine
config_test.go static file module:make cache file size and cache file numbers configurable il y a 1 mois
controller.go it's no need to override Trace method. il y a 1 an
controller_test.go gofmt simplify il y a 3 ans
doc.go fix typo il y a 4 ans
error.go Make LogAccess public il y a 1 an
error_test.go fix the gosimple il y a 3 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 4 ans
flash.go typo fixed il y a 4 ans
flash_test.go add go simple support il y a 3 ans
fs.go make staticcheck happy il y a 1 an
go.mod Remove tidb dependency il y a 6 jours
go.sum Remove tidb dependency il y a 6 jours
hooks.go better format il y a 1 an
log.go // Deprecated: use github.com/astaxie/beego/logs instead. il y a 1 an
mime.go fix the typo il y a 3 ans
namespace.go make staticcheck happy il y a 1 an
namespace_test.go add go simple support il y a 3 ans
parser.go Update parser.go il y a 2 mois
policy.go golint il y a 3 ans
router.go Merge pull request #3998 from guhan121/go_modules_route_compatibility il y a 1 semaine
router_test.go make staticcheck happy il y a 1 an
staticfile.go big size file lead to memory leak il y a 2 semaines
staticfile_test.go add cache-hit test example il y a 1 mois
template.go Register .gohtml extension il y a 1 an
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 1 an
templatefunc_test.go fix: adding test for issue due to testing is not reflect changed il y a 1 an
tree.go comment edit il y a 2 ans
tree_test.go fix routing bug for splat il y a 3 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.

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