mirror of
https://github.com/beego/bee.git
synced 2024-11-22 10:10:53 +00:00
fix the typo
This commit is contained in:
parent
807c3de8a7
commit
0ee483de97
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user