Closed saitofun closed 1 year ago
https://github.com/machinefi/w3bstream/blob/e5b5a8793600b9e547898b55e645d9802bdcb1b0/cmd/srv-applet-mgr/global/config.go#L26-L38 As global config of a service, move all config elements to a single struct to avoid config name conflict. like below
type config struct { DB1 *pg.Endpoint DB2 *pg.Endpoint // other config fields... }
pr #232
https://github.com/machinefi/w3bstream/blob/e5b5a8793600b9e547898b55e645d9802bdcb1b0/cmd/srv-applet-mgr/global/config.go#L26-L38 As global config of a service, move all config elements to a single struct to avoid config name conflict. like below