Called reports whether the Sync method was called.
()
| 47 | |
| 48 | // Called reports whether the Sync method was called. |
| 49 | func (s *Syncer) Called() bool { |
| 50 | return s.called |
| 51 | } |
| 52 | |
| 53 | // A Discarder sends all writes to io.Discard. |
| 54 | type Discarder struct{ Syncer } |
no outgoing calls