mirror of https://github.com/jackc/pgx.git
go fmt
parent
86099237bd
commit
d1a586ed64
1
conn.go
1
conn.go
|
@ -240,7 +240,6 @@ func (c *conn) rxDataRow(buf []byte) (row map[string]string, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
func (c *conn) rxCommandComplete(buf []byte) string {
|
||||
r := newMessageReader(buf)
|
||||
return r.readString()
|
||||
|
|
|
@ -28,7 +28,6 @@ func TestConnect(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
func TestQuery(t *testing.T) {
|
||||
conn, err := Connect(map[string]string{"socket": "/private/tmp/.s.PGSQL.5432"})
|
||||
if err != nil {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package pqx
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
)
|
||||
|
||||
type messageReader []byte
|
||||
|
|
Loading…
Reference in New Issue