MCPcopy Create free account
hub / github.com/daodst/chat / DummyWriter

Struct DummyWriter

internal/sqlutil/writer_dummy.go:12–13  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

10// writer exclusivity. This is fine in PostgreSQL where overlapping
11// transactions and writes are acceptable.
12type DummyWriter struct {
13}
14
15// NewDummyWriter returns a new dummy writer.
16func NewDummyWriter() Writer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected