beego mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Ming Deng 8ef8fd2606
Merge pull request #4036 from astaxie/develop
5 天之前
.github update issue template 4 年之前
cache make redis client idle timeout configurable 1 周之前
config Fix validation test 4 週之前
context Using HTMLEscapeString in adminui.go to avoid XSS attack 2 週之前
grace Merge pull request #3739 from nuczzz/develop 1 周之前
httplib fix httplib PostFile method 1 月之前
logs Update es.go 6 天之前
metric Add build info for prometheus 1 周之前
migration Beego skipping some migrations 1 年之前
orm Merge branch 'develop' of https://github.com/astaxie/beego into develop 1 周之前
plugins Update apiauth.go fixed infinite recursive call 1 年之前
scripts Add build info for prometheus 1 周之前
session Move many PR's change here since the original authors are responseless 1 周之前
swagger Swagger: 2 年之前
testdata feat(Template): testing fs bindata 1 年之前
testing golint testing 4 年之前
toolbox Move many PR's change here since the original authors are responseless 1 周之前
utils leak opened file 9 月之前
validation Merge pull request #4017 from guhan121/fix#4000 1 周之前
.gitignore ignore .vscode folder 3 年之前
.travis.yml Fix ledis 1 月之前
CONTRIBUTING.md add CONTRIBUTING.md 4 年之前
LICENSE update all files License 6 年之前
README.md Fix ES bug 6 天之前
admin.go Add prometheus support 2 週之前
admin_test.go static file module:make cache file size and cache file numbers configurable 1 月之前
adminui.go fix #1877 3 年之前
app.go fix graceful bug 3 週之前
beego.go upgrade version 5 天之前
build_info.go Add build info for prometheus 1 周之前
config.go Merge pull request #3998 from guhan121/go_modules_route_compatibility 1 周之前
config_test.go static file module:make cache file size and cache file numbers configurable 1 月之前
controller.go it's no need to override Trace method. 1 年之前
controller_test.go gofmt simplify 3 年之前
doc.go fix typo 4 年之前
error.go Make LogAccess public 1 年之前
error_test.go fix the gosimple 3 年之前
filter.go adds ability to reset params after a filter runs 3 年之前
filter_test.go change to logs 4 年之前
flash.go typo fixed 4 年之前
flash_test.go add go simple support 3 年之前
fs.go make staticcheck happy 1 年之前
go.mod Remove tidb dependency 5 天之前
go.sum Remove tidb dependency 5 天之前
hooks.go better format 1 年之前
log.go // Deprecated: use github.com/astaxie/beego/logs instead. 1 年之前
mime.go fix the typo 3 年之前
namespace.go make staticcheck happy 1 年之前
namespace_test.go add go simple support 3 年之前
parser.go Update parser.go 2 月之前
policy.go golint 3 年之前
router.go Merge pull request #3998 from guhan121/go_modules_route_compatibility 1 周之前
router_test.go make staticcheck happy 1 年之前
staticfile.go big size file lead to memory leak 2 週之前
staticfile_test.go add cache-hit test example 1 月之前
template.go Register .gohtml extension 1 年之前
template_test.go feat(Template): use interface http.FileSystem 1 年之前
templatefunc.go fix bugs of ParseForm about time in RFC3339 format 1 年之前
templatefunc_test.go fix: adding test for issue due to testing is not reflect changed 1 年之前
tree.go comment edit 2 年之前
tree_test.go fix routing bug for splat 3 年之前
unregroute_test.go fix golint comments 2 年之前

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