summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 17:53:13 +0300
committerWolfy-J <[email protected]>2018-06-10 17:53:13 +0300
commit4fd4c7a1e8194287249fa59252afc2cd260d5643 (patch)
tree7f2f3872ff13ff063acca14d4294b4d299c3dea2 /cmd/rr/main.go
parent094a4c211022b9446ef988c74c546ad6efb09722 (diff)
rr is working now
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 3d15924b..ed47b2ed 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -36,13 +36,13 @@ import (
func main() {
// provides ability to make local connection to services
- rr.Container.Register(rpc.Name, new(rpc.Service))
+ rr.Container.Register(rpc.Name, &rpc.Service{})
// http serving
- rr.Container.Register(http.Name, new(http.Service))
+ rr.Container.Register(http.Name, &http.Service{})
// serving static files
- rr.Container.Register(static.Name, new(static.Service))
+ rr.Container.Register(static.Name, &static.Service{})
// you can register additional commands using cmd.CLI
rr.Execute()