Browse Source

Update to gofmt output on tip (#293)

The change is compatible with old versions of gofmt.
Gary Burd 8 years ago
parent
commit
47dc60e71e
4 changed files with 0 additions and 7 deletions
  1. 0 1
      redis/conn.go
  2. 0 1
      redis/conn_test.go
  3. 0 2
      redis/pool.go
  4. 0 3
      redis/pubsub.go

+ 0 - 1
redis/conn.go

@@ -31,7 +31,6 @@ import (
 
 // conn is the low-level implementation of Conn
 type conn struct {
-
 	// Shared
 	mu      sync.Mutex
 	pending int

+ 0 - 1
redis/conn_test.go

@@ -764,7 +764,6 @@ func BenchmarkDoPing(b *testing.B) {
 var clientTLSConfig, serverTLSConfig tls.Config
 
 func init() {
-
 	// The certificate and key for testing TLS dial options was created
 	// using the command
 	//

+ 0 - 2
redis/pool.go

@@ -115,7 +115,6 @@ var (
 //  }
 //
 type Pool struct {
-
 	// Dial is an application supplied function for creating and configuring a
 	// connection.
 	//
@@ -269,7 +268,6 @@ func (p *Pool) get() (Conn, error) {
 	}
 
 	for {
-
 		// Get idle connection.
 
 		for i, n := 0, p.idle.Len(); i < n; i++ {

+ 0 - 3
redis/pubsub.go

@@ -18,7 +18,6 @@ import "errors"
 
 // Subscription represents a subscribe or unsubscribe notification.
 type Subscription struct {
-
 	// Kind is "subscribe", "unsubscribe", "psubscribe" or "punsubscribe"
 	Kind string
 
@@ -31,7 +30,6 @@ type Subscription struct {
 
 // Message represents a message notification.
 type Message struct {
-
 	// The originating channel.
 	Channel string
 
@@ -41,7 +39,6 @@ type Message struct {
 
 // PMessage represents a pmessage notification.
 type PMessage struct {
-
 	// The matched pattern.
 	Pattern string