From 5b6269f1f505bd3ebda676a9e9c90f7b346deb78 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Tue, 19 May 2020 15:17:23 +0300 Subject: - sample config --- cmd/rr/main.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/rr/main.go') 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{}) -- cgit v1.2.3