Golang undefined method despite it exists in imported package

前端 未结 0 861
我寻月下人不归
我寻月下人不归 2020-11-30 06:14

I have 3 files. Database type is defined in db.go file. Methods for it are defined in user.go file in db directory in the same package as db.go file. And methods from users.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题