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

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