Load interface implementations into running Go application

后端 未结 0 597
醉话见心
醉话见心 2021-02-19 23:37

In my application, I have a structure that holds a function that returns me an implementation of an interface.

type Registry struct {
    Model map[string]func()          


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