Open kirinshow opened 3 years ago
What is the relationship between "Controller" and "myController"?
What is the relationship between "Controller" and "myController"
type MyController struct {
beego.Controller
}
based on the beego framework,MyController
inherit from beego.Controller which is the Controller
my environment:
As my title description, it work well until i encountered the method :
even though i use the -gcflags=all=-l , it's doesn't work as well. There is my test code:
see the result as below :
How to fix this problem or recommand me a HTTP unit test framework ? Thanks!!!!