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.
astaxie 8152ade1b6
Merge pull request #3419 from xpzouying/close_fs_when_is_not_nil
5 months ago
.github update issue template 3 years ago
cache Update memory.go 6 months ago
config Read over 4096 length values 9 months ago
context Add .Elapsed in context.ResponseWriter for monitor purpose 6 months ago
grace fix golint comments 1 year ago
httplib Update httplib_test.go 6 months ago
logs edit test case 10 months ago
migration Update: Fix migration generate SQL 1 year ago
orm add different column name parse strategy 6 months ago
plugins Fix the new repo address for casbin. 2 years ago
session Merge pull request #3317 from HSoshiant/master 6 months ago
swagger Swagger: 1 year ago
testdata feat(Template): testing fs bindata 6 months ago
testing golint testing 3 years ago
toolbox Merge pull request #3387 from wuyumin/master 6 months ago
utils breaks rely on TestNewBeeMap 9 months ago
validation fix typo 10 months ago
vendor update vendor & module 5 months ago
.gitignore ignore .vscode folder 2 years ago
.gosimpleignore add go simple support 2 years ago
.travis.yml Merge pull request #3420 from xpzouying/format_list_travis_yml 5 months ago
CONTRIBUTING.md add CONTRIBUTING.md 3 years ago
LICENSE update all files License 5 years ago
README.md Added link to ranking 7 months ago
admin.go better format 5 months ago
admin_test.go Add map shortcut and ServeFormatted method in output 9 months ago
adminui.go fix #1877 2 years ago
app.go Autocert ok 10 months ago
beego.go v1.11.1 6 months ago
config.go AutoCert 10 months ago
config_test.go Add map shortcut and ServeFormatted method in output 9 months ago
controller.go fix the comments update 6 months ago
controller_test.go gofmt simplify 2 years ago
doc.go fix typo 3 years ago
error.go Add map shortcut and ServeFormatted method in output 9 months ago
error_test.go fix the gosimple 1 year ago
filter.go adds ability to reset params after a filter runs 2 years ago
filter_test.go change to logs 3 years ago
flash.go typo fixed 3 years ago
flash_test.go add go simple support 2 years ago
fs.go refactor(FileSystem): add comments function 6 months ago
go.mod update vendor & module 5 months ago
go.sum update vendor & module 5 months ago
hooks.go better format 5 months ago
log.go remove from init method 3 years ago
mime.go fix the typo 2 years ago
namespace.go Fixes #2587 2 years ago
namespace_test.go add go simple support 2 years ago
parser.go Add annotated filter, support @Import, @Filter. 8 months ago
policy.go golint 2 years ago
router.go better format 5 months ago
router_test.go Test YAML 11 months ago
staticfile.go fix / can use dynamic directory 7 months ago
staticfile_test.go Fix Unexpected EOF bug in staticfile 1 year ago
template.go Merge pull request #3419 from xpzouying/close_fs_when_is_not_nil 5 months ago
template_test.go feat(Template): use interface http.FileSystem 6 months ago
templatefunc.go Add map shortcut and ServeFormatted method in output 9 months ago
templatefunc_test.go Add map shortcut and ServeFormatted method in output 9 months ago
tree.go comment edit 1 year ago
tree_test.go fix routing bug for splat 2 years ago
unregroute_test.go fix golint comments 1 year 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.

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