Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Sep 22, 2015
1 parent b8b38cd commit 215ab9f
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/nsq_to_http/nsq_to_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import (
"time"

"github.com/bitly/go-hostpool"
"github.com/bitly/timer_metrics"
"github.com/nsqio/go-nsq"
"github.com/nsqio/nsq/internal/app"
"github.com/nsqio/nsq/internal/version"
"github.com/bitly/timer_metrics"
)

const (
Expand Down
1 change: 0 additions & 1 deletion apps/nsq_to_nsq/nsq_to_nsq.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/nsqio/nsq/internal/app"
"github.com/nsqio/nsq/internal/protocol"
"github.com/nsqio/nsq/internal/version"

)

const (
Expand Down
2 changes: 1 addition & 1 deletion apps/nsqd/nsqd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (
"time"

"github.com/BurntSushi/toml"
"github.com/mreiferson/go-options"
"github.com/nsqio/nsq/internal/app"
"github.com/nsqio/nsq/internal/version"
"github.com/nsqio/nsq/nsqd"
"github.com/mreiferson/go-options"
)

type tlsRequiredOption int
Expand Down
2 changes: 1 addition & 1 deletion apps/nsqd/nsqd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"

"github.com/BurntSushi/toml"
"github.com/nsqio/nsq/nsqd"
"github.com/mreiferson/go-options"
"github.com/nsqio/nsq/nsqd"
)

func TestConfigFlagParsing(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion apps/nsqlookupd/nsqlookupd.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"time"

"github.com/BurntSushi/toml"
"github.com/mreiferson/go-options"
"github.com/nsqio/nsq/internal/version"
"github.com/nsqio/nsq/nsqlookupd"
"github.com/mreiferson/go-options"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/quantile/quantile.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"sync"
"time"

"github.com/nsqio/nsq/internal/stringy"
"github.com/bmizerany/perks/quantile"
"github.com/nsqio/nsq/internal/stringy"
)

type Result struct {
Expand Down
2 changes: 1 addition & 1 deletion nsqd/client_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"sync/atomic"
"time"

"github.com/nsqio/nsq/internal/auth"
"github.com/mreiferson/go-snappystream"
"github.com/nsqio/nsq/internal/auth"
)

const defaultBufferSize = 16 * 1024
Expand Down
2 changes: 1 addition & 1 deletion nsqd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
"strings"
"time"

"github.com/julienschmidt/httprouter"
"github.com/nsqio/nsq/internal/http_api"
"github.com/nsqio/nsq/internal/protocol"
"github.com/nsqio/nsq/internal/version"
"github.com/julienschmidt/httprouter"
)

type httpServer struct {
Expand Down
2 changes: 1 addition & 1 deletion nsqd/protocol_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"testing"
"time"

"github.com/mreiferson/go-snappystream"
"github.com/nsqio/go-nsq"
"github.com/nsqio/nsq/internal/protocol"
"github.com/mreiferson/go-snappystream"
)

func mustStartNSQD(opts *Options) (*net.TCPAddr, *net.TCPAddr, *NSQD) {
Expand Down
2 changes: 1 addition & 1 deletion nsqlookupd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"net/http/pprof"
"sync/atomic"

"github.com/julienschmidt/httprouter"
"github.com/nsqio/nsq/internal/http_api"
"github.com/nsqio/nsq/internal/protocol"
"github.com/nsqio/nsq/internal/version"
"github.com/julienschmidt/httprouter"
)

type httpServer struct {
Expand Down

0 comments on commit 215ab9f

Please sign in to comment.