Process is where the actual filtering takes place.
(l baker.Record, next func(baker.Record))
| 49 | |
| 50 | // Process is where the actual filtering takes place. |
| 51 | func (f *ClearFields) Process(l baker.Record, next func(baker.Record)) { |
| 52 | for _, fidx := range f.fields { |
| 53 | l.Set(fidx, nil) |
| 54 | } |
| 55 | next(l) |
| 56 | } |