Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xichen2020 committed Jan 13, 2019
1 parent b4ecde1 commit f714fd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index/field/field_iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,30 @@ type BoolFieldIterator interface {
type IntFieldIterator interface {
BaseFieldIterator

// Value returns the current bool value.
// Value returns the current int value.
Value() int
}

// DoubleFieldIterator iterates over (doc ID, double value) pairs in a double field.
type DoubleFieldIterator interface {
BaseFieldIterator

// Value returns the current bool value.
// Value returns the current double value.
Value() float64
}

// StringFieldIterator iterates over (doc ID, string value) pairs in a string field.
type StringFieldIterator interface {
BaseFieldIterator

// Value returns the current bool value.
// Value returns the current string value.
Value() string
}

// TimeFieldIterator iterates over (doc ID, time value) pairs in a time field.
type TimeFieldIterator interface {
BaseFieldIterator

// Value returns the current bool value.
// Value returns the current time value.
Value() int64
}

0 comments on commit f714fd2

Please sign in to comment.