1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 05:00:54 +00:00

fix the typo

This commit is contained in:
astaxie 2016-01-06 13:59:49 +08:00
parent 807c3de8a7
commit 0ee483de97

View File

@ -55,7 +55,7 @@ var rootapi swagger.ResourceListing
var apilist map[string]*swagger.APIDeclaration var apilist map[string]*swagger.APIDeclaration
func init() { func init() {
if beego.Bconfig.WebConifg.EnableDocs { if beego.BConfig.WebConfig.EnableDocs {
err := json.Unmarshal([]byte(Rootinfo), &rootapi) err := json.Unmarshal([]byte(Rootinfo), &rootapi)
if err != nil { if err != nil {
beego.Error(err) beego.Error(err)