summaryrefslogtreecommitdiff
path: root/service/injector.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/injector.go')
-rw-r--r--service/injector.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/injector.go b/service/injector.go
index 2d18b651..3c41240a 100644
--- a/service/injector.go
+++ b/service/injector.go
@@ -1,8 +1,8 @@
package service
import (
- "reflect"
"fmt"
+ "reflect"
)
const initMethod = "Init"
@@ -42,7 +42,7 @@ func initService(s interface{}, cfg Config, c *container) (bool, error) {
// injectValues returns slice of call arguments for service Init method.
func injectValues(m reflect.Method, s interface{}, cfg Config, c *container) (values []reflect.Value, err error) {
- for i := 0; i < m.Type.NumIn(); i ++ {
+ for i := 0; i < m.Type.NumIn(); i++ {
v := m.Type.In(i)
switch {