summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-10 22:04:05 +0300
committerValery Piashchynski <[email protected]>2020-02-10 22:04:05 +0300
commitec3be0d8e22d4f698b6cf8c543d50580cde557c1 (patch)
tree8934a0836d390ceeca08fb8f21a569f6e14a5ea0 /service
parent4860f46e00f703d8246c5ec7e4872f484cbadcec (diff)
Renaming typo
Diffstat (limited to 'service')
-rw-r--r--service/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/container.go b/service/container.go
index f6fe24dc..742b4c3b 100644
--- a/service/container.go
+++ b/service/container.go
@@ -89,7 +89,7 @@ func NewContainer(log logrus.FieldLogger) Container {
}
}
-// Declare add new service to the container under given name.
+// Register add new service to the container under given name.
func (c *container) Register(name string, service interface{}) {
c.mu.Lock()
defer c.mu.Unlock()