10 lines
232 B
Go
10 lines
232 B
Go
|
|
package connector
|
||
|
|
|
||
|
|
// A basic implementation of the Filter interface that returns true for all records.
|
||
|
|
type AllPassFilter struct{}
|
||
|
|
|
||
|
|
// Returns true for all records.
|
||
|
|
func (b *AllPassFilter) KeepRecord(m Model) bool {
|
||
|
|
return true
|
||
|
|
}
|