kinesis-consumer/all_pass_filter.go
Harlow Ward 8e8ee5af73 Use golint to update Golang styles
* Update comments and return statements
* Adjust usage of Kinesis library (upgraded local source)
2014-12-10 15:38:19 -08:00

9 lines
258 B
Go

package connector
// AllPassFilter an implementation of the Filter interface that returns true for all records.
type AllPassFilter struct{}
// KeepRecord returns true for all records.
func (b *AllPassFilter) KeepRecord(r interface{}) bool {
return true
}