Browse Source

fix the typo

tags/v1.5.0
astaxie 4 years ago
parent
commit
0ee483de97
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      g_docs.go

+ 1
- 1
g_docs.go View File

@@ -55,7 +55,7 @@ var rootapi swagger.ResourceListing
var apilist map[string]*swagger.APIDeclaration

func init() {
if beego.Bconfig.WebConifg.EnableDocs {
if beego.BConfig.WebConfig.EnableDocs {
err := json.Unmarshal([]byte(Rootinfo), &rootapi)
if err != nil {
beego.Error(err)


Loading…
Cancel
Save