DummyWriter implements sqlutil.Writer. The DummyWriter is designed to allow reuse of the sqlutil.Writer interface but, unlike ExclusiveWriter, it will not guarantee writer exclusivity. This is fine in PostgreSQL where overlapping transactions and writes are acceptable.
| 10 | // writer exclusivity. This is fine in PostgreSQL where overlapping |
| 11 | // transactions and writes are acceptable. |
| 12 | type DummyWriter struct { |
| 13 | } |
| 14 | |
| 15 | // NewDummyWriter returns a new dummy writer. |
| 16 | func NewDummyWriter() Writer { |
nothing calls this directly
no outgoing calls
no test coverage detected