beego mirror
Go to file
liming db67ffbb94 1.simplify reading and writing file code
2.add apiauth test
2017-02-10 09:35:23 +08:00
.github update issue template 2016-03-23 17:05:40 +08:00
cache 1.simplify reading and writing file code 2017-02-10 09:35:23 +08:00
config use BeeMap instead of a regular map 2017-01-16 10:08:53 +01:00
context Update output.go 2017-01-02 09:17:17 +05:30
grace Added method to register Pre/Post signal handlers 2016-12-06 13:48:31 +01:00
httplib fix the retried 2017-01-05 18:27:23 +08:00
logs Merge pull request #2307 from CodeJuan/master 2016-12-06 15:10:00 +08:00
migration bee fix 2016-03-25 10:56:15 +08:00
orm Merge pull request #2400 from kerwin/master 2017-01-23 21:12:29 +08:00
plugins 1.simplify reading and writing file code 2017-02-10 09:35:23 +08:00
session 1.add "defer f.close()" in SessionRead to fix file handle leak if DecodeGob failed 2017-02-09 14:18:30 +08:00
swagger swagger: add 'Default' for Parameter 2016-11-03 22:59:23 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox statistics lock 2016-12-06 14:57:15 +08:00
utils Removes redundant check if key exists in BeeMap 2016-12-29 11:11:39 +01:00
validation Implement Error interface for validation error 2016-05-05 19:26:03 +08:00
.gitignore ignore .vscode folder 2016-12-29 22:30:56 +01:00
.travis.yml Using a different PostgreSQL Version 2016-04-11 23:12:35 +08:00
CONTRIBUTING.md add CONTRIBUTING.md 2016-01-13 22:02:36 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
README.md add foundation link 2016-09-23 14:16:16 +08:00
admin.go list the config to map 2016-04-18 19:16:39 +08:00
admin_test.go Forgot to fix it here 2016-10-11 11:06:22 -05:00
adminui.go fix #1877 2016-09-13 22:43:40 +08:00
app.go Print complete URL after running 2016-06-01 20:18:11 +08:00
beego.go beego 1.7.2 2016-12-05 22:58:29 +08:00
config.go Remove a regression on AppPath 2016-12-09 09:37:10 +01:00
config_test.go go fmt 2016-06-01 19:57:08 +08:00
controller.go Don't rewrite content-type 2016-12-14 17:19:31 +00:00
controller_test.go add GetUint(8|16|32|64) to controller 2016-10-02 07:42:06 +00:00
doc.go fix typo 2016-01-17 23:48:17 +08:00
error.go fix #2126 2016-08-30 21:00:27 +08:00
error_test.go golink: map range only key stlye 2016-03-27 15:07:51 +08:00
filter.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07:00
filter_test.go change to logs 2016-03-25 10:31:48 +08:00
flash.go typo fixed 2016-01-15 14:07:37 +08:00
flash_test.go make golint happy 2015-09-08 21:41:38 +08:00
hooks.go Changed the name to match. 2016-10-11 11:06:52 -05:00
log.go remove from init method 2016-03-25 15:04:52 +08:00
mime.go fix the typo 2016-08-17 22:56:21 +08:00
namespace.go make router fast 2016-03-15 11:49:23 +08:00
namespace_test.go gofmt test files 2016-04-05 15:38:42 +08:00
parser.go fix a spelling mistake 2016-09-21 19:33:12 +08:00
policy.go policies implementation 2016-09-28 21:21:07 +03:00
router.go Merge branch 'develop' 2016-12-05 23:14:26 +08:00
router_test.go adds ability to reset params after a filter runs 2016-08-07 07:44:30 -07:00
staticfile.go fix #2142 2016-09-11 21:27:27 +08:00
staticfile_test.go go fmt 2016-02-12 11:36:59 +08:00
template.go fix the bug to prevent rewrite t 2017-01-14 15:03:49 +08:00
template_test.go add template read lock when dev mode 2016-03-04 12:00:43 +08:00
templatefunc.go beego.ParseForm() improvement 2016-09-01 15:04:57 +08:00
templatefunc_test.go update TestParseForm 2016-09-02 16:08:04 +08:00
tree.go Revert "route variables should not have underline" 2016-08-29 13:42:40 +08:00
tree_test.go Revert "route variables should not have underline" 2016-08-29 13:42:40 +08:00

README.md

Beego

Build Status GoDoc Foundation

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

######Congratulations! You just built your first beego app. Open your browser and visit http://localhost:8080. 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).