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
8 months ago
.github Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
cache Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
config Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
context Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
grace Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
httplib Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
logs Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
metric Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
migration Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
orm Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
plugins Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
scripts Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
session Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
swagger Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
testdata Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
testing Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
toolbox Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
utils Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
validation Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
.gitignore Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
.travis.yml Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
CONTRIBUTING.md Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
LICENSE update all files License 7 years ago
README.md Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
admin.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
admin_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
adminui.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
app.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
beego.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
build_info.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
config.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
config_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
controller.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
controller_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
doc.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
error.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
error_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
filter.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
filter_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
flash.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
flash_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
fs.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
go.mod Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
go.sum Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
hooks.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
log.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
mime.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
namespace.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
namespace_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
parser.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
policy.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
router.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
router_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
staticfile.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
staticfile_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
template.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
template_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
templatefunc.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
templatefunc_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
tree.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
tree_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months ago
unregroute_test.go Revert "Merge pull request #4254 from astaxie/develop-2.0" 8 months 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).