go fmt
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user