Will a constructor that returns a struct pointer always recreate the struct similar to instantiating a class in Java?

后端 未结 0 1507
遥遥无期
遥遥无期 2021-01-24 06:30

I have a background in Java, and I have used Spring\'s dependency injection for many years. In main.go of my project, I return struct pointers by way of the "New" cons

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