1

ERROR:

 *controllers.ListController does not implement web.ControllerInterface (wrong type for Init method)
  have Init(*"github.com/astaxie/beego/context".Context, string, string, interface {})
  want Init(*"github.com/beego/beego/v2/server/web/context".Context, string, string, interface {})
Brits
  • 14,829
  • 2
  • 18
  • 31
  • 2
    You are importing the wrong version of the Context's package. `github.com/astaxie/beego/context` and `github.com/beego/beego/v2/server/web/context` are two different packages. – mkopriva Feb 21 '22 at 06:16

0 Answers0