summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-22 22:21:49 +0300
committerGitHub <[email protected]>2018-06-22 22:21:49 +0300
commit92083cd53bb4734cae6e14602050fa923d3eab6a (patch)
tree77301aa12b2cecb13195083e5fff5285a885cc8f
parent8121fd164ec5385c8dbc9db8dd013a193334dbac (diff)
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index db86f457..fcaf5737 100644
--- a/README.md
+++ b/README.md
@@ -227,7 +227,7 @@ type Service struct {
cfg *config
}
-func (s *Service) Init(cfg service.Config, reg service.Container) (enabled bool, err error) {
+func (s *Service) Init(cfg service.Config, c service.Container) (enabled bool, err error) {
config := &config{}
if err := cfg.Unmarshal(config); err != nil {
return false, err