Code formatting tweaks
This commit is contained in:
@@ -148,14 +148,11 @@ func (client *Client) query(query string, args ...interface{}) (*Result, error)
|
|||||||
defer rows.Close()
|
defer rows.Close()
|
||||||
|
|
||||||
cols, err := rows.Columns()
|
cols, err := rows.Columns()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
result := Result{
|
result := Result{Columns: cols}
|
||||||
Columns: cols,
|
|
||||||
}
|
|
||||||
|
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
obj, err := rows.SliceScan()
|
obj, err := rows.SliceScan()
|
||||||
|
|||||||
Reference in New Issue
Block a user