mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 04:01:29 +00:00
beego mirror
7151b96465
Beego currently handles the case of "conf/app.conf" not existing, but all other errors are not logged. This fixes that. I ran into an issue where beego was not listening on the correct port, and it turned out that the conf/app.conf file had a colon ":" instead of an equal sign "=" (confusion of INI vs YAML formats). When there was a parsing error, beego would give up on parsing app.conf and not log anything to the console. |
||
---|---|---|
cache | ||
config | ||
context | ||
grace | ||
httplib | ||
logs | ||
migration | ||
orm | ||
plugins | ||
session | ||
swagger | ||
testing | ||
toolbox | ||
utils | ||
validation | ||
.gitignore | ||
admin.go | ||
adminui.go | ||
app.go | ||
beego.go | ||
config_test.go | ||
config.go | ||
controller_test.go | ||
controller.go | ||
doc.go | ||
docs.go | ||
error.go | ||
filter_test.go | ||
filter.go | ||
flash_test.go | ||
flash.go | ||
hooks.go | ||
LICENSE | ||
log.go | ||
memzipfile.go | ||
mime.go | ||
namespace_test.go | ||
namespace.go | ||
parser.go | ||
README.md | ||
router_test.go | ||
router.go | ||
staticfile.go | ||
template_test.go | ||
template.go | ||
templatefunc_test.go | ||
templatefunc.go | ||
tree_test.go | ||
tree.go |
Beego
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:8000
.
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 is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).