beego mirror
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
Ming Deng 8ef8fd2606
Merge pull request #4036 from astaxie/develop
1 个月前
.github update issue template 4 年前
cache make redis client idle timeout configurable 1 个月前
config Fix validation test 2 个月前
context Using HTMLEscapeString in adminui.go to avoid XSS attack 1 个月前
grace Merge pull request #3739 from nuczzz/develop 1 个月前
httplib fix httplib PostFile method 2 个月前
logs Update es.go 1 个月前
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 10 个月前
validation Merge pull request #4017 from guhan121/fix#4000 1 个月前
.gitignore ignore .vscode folder 3 年前
.travis.yml Fix ledis 2 个月前
CONTRIBUTING.md add CONTRIBUTING.md 4 年前
LICENSE update all files License 6 年前
README.md Fix ES bug 1 个月前
admin.go Add prometheus support 1 个月前
admin_test.go static file module:make cache file size and cache file numbers configurable 2 个月前
adminui.go fix #1877 3 年前
app.go fix graceful bug 2 个月前
beego.go upgrade version 1 个月前
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 2 个月前
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 4 年前
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 1 个月前
go.sum Remove tidb dependency 1 个月前
hooks.go better format 1年前
log.go // Deprecated: use github.com/astaxie/beego/logs instead. 1年前
mime.go fix the typo 4 年前
namespace.go make staticcheck happy 1年前
namespace_test.go add go simple support 3 年前
parser.go Update parser.go 3 个月前
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 1 个月前
staticfile_test.go add cache-hit test example 3 个月前
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 3 年前
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).