1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-26 18:10:50 +00:00
beego mirror
Go to file
Ryan A. Chapman 7151b96465 Log config parsing errors
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.
2015-11-29 15:09:28 -07:00
cache fix the conv test case 2015-09-18 12:11:48 +08:00
config golint config 2015-09-10 14:53:19 +08:00
context fix the type assert 2015-11-09 11:03:57 +08:00
grace golint grace 2015-09-10 16:35:40 +08:00
httplib golint httplib 2015-09-11 22:28:28 +08:00
logs file add the config for Perm 2015-09-18 12:12:02 +08:00
migration fix postgres syntax error during migration 2015-11-18 06:46:44 -06:00
orm Merge pull request #1451 from gobenon/master 2015-11-25 09:29:28 +08:00
plugins golint plugins 2015-09-12 22:03:45 +08:00
session remove the dead code 2015-09-17 23:47:26 +08:00
swagger golint swagger 2015-09-12 23:15:23 +08:00
testing golint testing 2015-09-12 23:19:18 +08:00
toolbox golint toolbox 2015-09-12 23:28:24 +08:00
utils remove the dead code 2015-09-17 23:47:26 +08:00
validation fix #1385 2015-10-12 20:50:58 +08:00
.gitignore update the gitignore 2015-08-31 11:58:11 +08:00
admin.go Fixed typos 2015-11-03 23:43:34 +08:00
adminui.go beego task list update for task spec list and task run url error 2015-02-04 18:07:31 +08:00
app.go fix #1335 2015-11-05 00:19:09 +08:00
beego.go // beego.Run("localhost") 2015-09-19 05:53:28 +08:00
config_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
config.go Log config parsing errors 2015-11-29 15:09:28 -07:00
controller_test.go controller_test.go 既然叫test,那就按照go的规则进行test吧 2015-11-24 14:55:59 +08:00
controller.go XSRFFormHtml() should also generate XSRF token. 2015-10-27 20:16:47 +03:00
doc.go make golint happy 2015-09-08 21:41:38 +08:00
docs.go make golint happy 2015-09-08 21:41:38 +08:00
error.go method name refactor 2015-09-18 17:59:28 +08:00
filter_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
filter.go make golint happy 2015-09-08 21:41:38 +08:00
flash_test.go make golint happy 2015-09-08 21:41:38 +08:00
flash.go beego: flash add success & Set 2014-09-23 23:54:38 +08:00
hooks.go error map refactor 2015-09-17 10:36:29 +08:00
LICENSE update all files License 2014-05-17 02:26:50 +08:00
log.go make golint happy 2015-09-08 21:41:38 +08:00
memzipfile.go Merge pull request #1441 from nkbai/master 2015-11-20 21:50:55 +08:00
mime.go make golint happy 2015-09-08 21:41:38 +08:00
namespace_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
namespace.go make golint happy 2015-09-08 21:41:38 +08:00
parser.go Merge branch 'develop' of github.com:dvwallin/beego into develop 2015-09-17 17:07:06 +02:00
README.md Fix #1269 extract documentation 2015-07-26 17:06:55 +00:00
router_test.go fix #1388 2015-10-12 21:26:18 +08:00
router.go impove the ResponseWriter. fix #1410 2015-11-04 23:52:42 +08:00
staticfile.go modified as astaxie reviews 2015-11-06 18:51:53 +08:00
template_test.go golint happy with template 2015-09-08 23:29:58 +08:00
template.go golint templatefunc 2015-09-08 23:41:41 +08:00
templatefunc_test.go golint templatefunc 2015-09-08 23:41:41 +08:00
templatefunc.go remove the dead code 2015-09-17 23:47:26 +08:00
tree_test.go Update tree_test.go 2015-09-06 12:17:16 +08:00
tree.go Merge pull request #1349 from ElvizLai/patch-4 2015-09-17 23:01:32 +08:00

Beego

Build Status GoDoc

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