You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During write unit test with beego , source code contains beego.AppConfig.GetSection() appear the bug .
I can not right get the config. code in project like this
cfgs, err := beego.AppConfig.GetSection("test_conf") if err != nil { panic(err) } panic outputs: not implement in the fakeConfigContainer
beego’s author reply in github that is a bug and already fixed in new version, but i got this problem still now with version 1.
The text was updated successfully, but these errors were encountered:
https://sunwenli.github.io/post/2019-0627/
During write unit test with beego , source code contains beego.AppConfig.GetSection() appear the bug .
I can not right get the config. code in project like this
cfgs, err := beego.AppConfig.GetSection("test_conf") if err != nil { panic(err) } panic outputs: not implement in the fakeConfigContainer
beego’s author reply in github that is a bug and already fixed in new version, but i got this problem still now with version 1.
The text was updated successfully, but these errors were encountered: