Browse Source

Drop unnecessary type and iota

Evan Huus 12 years ago
parent
commit
2dc6a7d564
1 changed files with 2 additions and 2 deletions
  1. 2 2
      consumer.go

+ 2 - 2
consumer.go

@@ -9,10 +9,10 @@ const (
 	OFFSET_METHOD_MANUAL OffsetMethod = iota
 	// OFFSET_METHOD_NEWEST causes the consumer to start at the most recent available offset, as
 	// determined by querying the broker.
-	OFFSET_METHOD_NEWEST OffsetMethod = iota
+	OFFSET_METHOD_NEWEST
 	// OFFSET_METHOD_OLDEST causes the consumer to start at the oldest available offset, as
 	// determined by querying the broker.
-	OFFSET_METHOD_OLDEST OffsetMethod = iota
+	OFFSET_METHOD_OLDEST
 )
 
 // ConsumerConfig is used to pass multiple configuration options to NewConsumer.