()
| 50 | } |
| 51 | |
| 52 | func (c CompositeHooks) OnValidated() error { |
| 53 | for _, h := range c { |
| 54 | if h == nil { |
| 55 | continue |
| 56 | } |
| 57 | if err := h.OnValidated(); err != nil { |
| 58 | return err |
| 59 | } |
| 60 | } |
| 61 | return nil |
| 62 | } |
| 63 | |
| 64 | func (c CompositeHooks) OnRowCountComplete() error { |
| 65 | for _, h := range c { |
nothing calls this directly
no test coverage detected