(string, ...any)
| 111 | } |
| 112 | return msgs |
| 113 | } |
| 114 | |
| 115 | // newBufferedConn builds a clientConn that writes to an in-memory buffer, for |
| 116 | // asserting the exact backend messages a simple query produces. The returned |
| 117 | // *bytes.Buffer holds the flushed output after handleQuery. |
| 118 | func newBufferedConn(exec QueryExecutor) (*clientConn, *bytes.Buffer) { |
nothing calls this directly
no outgoing calls
no test coverage detected