summaryrefslogtreecommitdiff
path: root/cmd/rr
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-10 14:29:10 +0300
committerWolfy-J <[email protected]>2018-09-10 14:29:10 +0300
commit7ab1e77f2db902cf8a485e3a28bfdbd58a613dc9 (patch)
tree748253cb7d5b758a0b61ab4a88023e5fed4f4a3b /cmd/rr
parentceb5033d5bb2fb641c886d4010f05498552152c2 (diff)
go fmt
Diffstat (limited to 'cmd/rr')
-rw-r--r--cmd/rr/http/debug.go6
-rw-r--r--cmd/rr/main.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/cmd/rr/http/debug.go b/cmd/rr/http/debug.go
index cae10452..f69e10a8 100644
--- a/cmd/rr/http/debug.go
+++ b/cmd/rr/http/debug.go
@@ -4,11 +4,11 @@ import (
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
"github.com/spf13/cobra"
- "github.com/spiral/roadrunner/service/http"
"github.com/spiral/roadrunner/cmd/rr/debug"
+ "github.com/spiral/roadrunner/service/http"
)
-func init(){
+func init() {
cobra.OnInitialize(func() {
if rr.Debug {
svc, _ := rr.Container.Get(http.ID)
@@ -17,4 +17,4 @@ func init(){
}
}
})
-} \ No newline at end of file
+}
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index da34a62b..18e22cdd 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -23,8 +23,8 @@
package main
import (
- rr "github.com/spiral/roadrunner/cmd/rr/cmd"
"github.com/sirupsen/logrus"
+ rr "github.com/spiral/roadrunner/cmd/rr/cmd"
// services (plugins)
"github.com/spiral/roadrunner/service/env"