Use same methods across multiple structs in Golang

后端 未结 0 605
北恋
北恋 2020-11-22 02:05

I have a scenario where I have a few structs to model my database schema. What I want is to add a few methods to all those structs, so that I can use them in my handler. I a

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