summaryrefslogtreecommitdiff
path: root/cmd/rr
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-05-19 15:17:23 +0300
committerWolfy-J <[email protected]>2020-05-19 15:17:23 +0300
commit5b6269f1f505bd3ebda676a9e9c90f7b346deb78 (patch)
tree15ea9274a7963816d004a95660fec8df09e6ee42 /cmd/rr
parentfee8dbb4a6723068050c3396c61180a0733cf988 (diff)
- sample config
Diffstat (limited to 'cmd/rr')
-rw-r--r--cmd/rr/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 54a1f060..72498017 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -43,6 +43,10 @@ import (
)
func main() {
+
+ rr.Container.Register(logger.ID, &logrus.ConfigProvider{})
+ rr.Container.Register(config.ID, &cobra.ConfigPrivider{})
+
rr.Container.Register(env.ID, &env.Service{})
rr.Container.Register(rpc.ID, &rpc.Service{})
rr.Container.Register(http.ID, &http.Service{})