Browse Source

Formatting and godoc fixes

Willem van Bergen 12 years ago
parent
commit
aa25ce4430
2 changed files with 3 additions and 3 deletions
  1. 2 2
      broker.go
  2. 1 1
      sarama.go

+ 2 - 2
broker.go

@@ -9,8 +9,8 @@ import (
 
 // Broker represents a single Kafka broker connection. All operations on this object are entirely concurrency-safe.
 type Broker struct {
-	id     int32
-	addr   string
+	id   int32
+	addr string
 
 	correlationID int32
 	conn          net.Conn

+ 1 - 1
sarama.go

@@ -12,5 +12,5 @@ import (
 )
 
 var (
-  Logger = log.New(ioutil.Discard, "[Sarama] ", log.LstdFlags)
+  Logger = log.New(ioutil.Discard, "[Sarama] ", log.LstdFlags) // Logger instance to write connection management events to.
 )