1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 13:30:56 +00:00

update the comments

This commit is contained in:
astaxie 2015-09-07 19:29:52 +08:00
parent fe9c52fb69
commit 919675e793

View File

@ -67,7 +67,7 @@ func initBeforeHttpRun() {
}
}
//init mime
//init hooks
AddAPPStartHook(registerMime)
AddAPPStartHook(registerDefaultErrorHandler)
AddAPPStartHook(registerSession)
@ -75,7 +75,6 @@ func initBeforeHttpRun() {
AddAPPStartHook(registerTemplate)
AddAPPStartHook(registerAdmin)
// do hooks function
for _, hk := range hooks {
if err := hk(); err != nil {
panic(err)