Unverified Commit 5b7d8d26 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub

Merge pull request #69 from Mulavar/imports-fmt

style(*): format all imports with dubbogo/tools/imports-formatter
parents 168f412b 3ea0e197
......@@ -30,11 +30,14 @@ import (
)
import (
getty "github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync"
"github.com/montanaflynn/stats"
)
import (
getty "github.com/apache/dubbo-getty"
)
var (
concurrency = flag.Int("c", 1, "concurrency")
total = flag.Int("n", 1, "total requests for all clients")
......
......@@ -28,10 +28,13 @@ import (
)
import (
getty "github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync"
)
import (
getty "github.com/apache/dubbo-getty"
)
var (
concurrency = flag.Int("c", 1, "concurrency")
total = flag.Int("n", 1, "total requests for all clients")
......
......@@ -33,10 +33,13 @@ import (
)
import (
getty "github.com/apache/dubbo-getty"
gxsync "github.com/dubbogo/gost/sync"
)
import (
getty "github.com/apache/dubbo-getty"
)
var (
taskPoolMode = flag.Bool("taskPool", false, "task pool mode")
taskPoolSize = flag.Int("task_pool_size", 2000, "task poll size")
......
......@@ -25,7 +25,9 @@ import (
"net"
"sync"
"time"
)
import (
"github.com/golang/snappy"
"github.com/gorilla/websocket"
perrors "github.com/pkg/errors"
......
......@@ -22,11 +22,11 @@ import (
)
import (
"github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync"
)
import (
"github.com/apache/dubbo-getty"
"github.com/apache/dubbo-getty/demo/hello"
"github.com/apache/dubbo-getty/demo/hello/tcp"
"github.com/apache/dubbo-getty/demo/util"
......
......@@ -25,9 +25,6 @@ import (
import (
"github.com/apache/dubbo-getty"
)
import (
"github.com/apache/dubbo-getty/demo/hello"
)
......
......@@ -22,11 +22,11 @@ import (
)
import (
"github.com/apache/dubbo-getty"
gxsync "github.com/dubbogo/gost/sync"
)
import (
"github.com/apache/dubbo-getty"
"github.com/apache/dubbo-getty/demo/hello/tcp"
"github.com/apache/dubbo-getty/demo/util"
)
......
......@@ -24,9 +24,6 @@ import (
import (
"github.com/apache/dubbo-getty"
)
import (
"github.com/apache/dubbo-getty/demo/hello"
)
......
......@@ -17,11 +17,9 @@
package getty
import gxsync "github.com/dubbogo/gost/sync"
/////////////////////////////////////////
// Server Options
/////////////////////////////////////////
import (
gxsync "github.com/dubbogo/gost/sync"
)
type ServerOption func(*ServerOptions)
......
......@@ -32,7 +32,6 @@ import (
gxbytes "github.com/dubbogo/gost/bytes"
gxcontext "github.com/dubbogo/gost/context"
gxtime "github.com/dubbogo/gost/time"
"github.com/gorilla/websocket"
perrors "github.com/pkg/errors"
uatomic "go.uber.org/atomic"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment