作者 tangxvhui

新增

package v2
import (
"github.com/astaxie/beego"
)
type BaseController struct {
beego.Controller
}
func (base *BaseController) Prepare() {
}
func (base *BaseController) Finish() {
}
... ...
package log
import (
"github.com/astaxie/beego"
)
func Warn(msg string) {
beego.Warn(msg)
}
func Trace(msg string) {
beego.Trace(msg)
}
func Debug(msg string) {
beego.Debug(msg)
}
func Info(msg string) {
beego.Info(msg)
}
func Error(msg string) {
beego.Error(msg)
}
... ...