Process implements baker.Filter.
(l baker.Record, next func(baker.Record))
| 46 | |
| 47 | // Process implements baker.Filter. |
| 48 | func (f *Timestamp) Process(l baker.Record, next func(baker.Record)) { |
| 49 | now := strconv.AppendInt(nil, time.Now().Unix(), 10) |
| 50 | l.Set(f.fidx, now) |
| 51 | next(l) |
| 52 | } |