Code formatting tweaks

This commit is contained in:
Dan Sosedoff
2015-01-13 21:18:11 -06:00
parent bc47ccc818
commit 9968b088ea

View File

@@ -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()