summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/container.go2
-rw-r--r--service/http/config_test.go4
-rw-r--r--service/rpc/config_test.go4
-rw-r--r--service/static/config_test.go4
4 files changed, 7 insertions, 7 deletions
diff --git a/service/container.go b/service/container.go
index 96f2d546..436d2e5f 100644
--- a/service/container.go
+++ b/service/container.go
@@ -4,8 +4,8 @@ import (
"fmt"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
- "sync"
"reflect"
+ "sync"
)
var noConfig = fmt.Errorf("no config has been provided")
diff --git a/service/http/config_test.go b/service/http/config_test.go
index 86622cdf..2e3fe731 100644
--- a/service/http/config_test.go
+++ b/service/http/config_test.go
@@ -1,13 +1,13 @@
package http
import (
+ "encoding/json"
"github.com/spiral/roadrunner"
+ "github.com/spiral/roadrunner/service"
"github.com/stretchr/testify/assert"
"os"
"testing"
"time"
- "github.com/spiral/roadrunner/service"
- "encoding/json"
)
type mockCfg struct{ cfg string }
diff --git a/service/rpc/config_test.go b/service/rpc/config_test.go
index 95eb41b4..a7c51c0f 100644
--- a/service/rpc/config_test.go
+++ b/service/rpc/config_test.go
@@ -1,11 +1,11 @@
package rpc
import (
+ "encoding/json"
+ "github.com/spiral/roadrunner/service"
"github.com/stretchr/testify/assert"
"runtime"
"testing"
- "encoding/json"
- "github.com/spiral/roadrunner/service"
)
type testCfg struct{ cfg string }
diff --git a/service/static/config_test.go b/service/static/config_test.go
index baa9776f..18168d59 100644
--- a/service/static/config_test.go
+++ b/service/static/config_test.go
@@ -1,10 +1,10 @@
package static
import (
+ "encoding/json"
+ "github.com/spiral/roadrunner/service"
"github.com/stretchr/testify/assert"
"testing"
- "github.com/spiral/roadrunner/service"
- "encoding/json"
)
type mockCfg struct{ cfg string }