mirror of https://github.com/jackc/pgx.git
go fmt
parent
431b44eefe
commit
7683e5cfa7
2
conn.go
2
conn.go
|
@ -204,7 +204,7 @@ func (c *conn) rxErrorResponse(r *messageReader) (err PgError) {
|
|||
case 0: // End of error message
|
||||
return
|
||||
default: // Ignore other error fields
|
||||
r.readString();
|
||||
r.readString()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ const (
|
|||
rowDescription = 'T'
|
||||
dataRow = 'D'
|
||||
commandComplete = 'C'
|
||||
errorResponse = 'E'
|
||||
errorResponse = 'E'
|
||||
)
|
||||
|
||||
type startupMessage struct {
|
||||
|
@ -54,8 +54,8 @@ type fieldDescription struct {
|
|||
|
||||
type PgError struct {
|
||||
Severity string
|
||||
Code string
|
||||
Message string
|
||||
Code string
|
||||
Message string
|
||||
}
|
||||
|
||||
func (self PgError) Error() string {
|
||||
|
|
Loading…
Reference in New Issue