1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-06-14 23:55:00 +02:00

add readme and update error messages

This commit is contained in:
gedi
2014-02-06 17:03:46 +02:00
parent 3e67393335
commit 2fc5a0dd15
6 changed files with 352 additions and 25 deletions

View File

@ -54,7 +54,7 @@ func RowsFromCSVString(columns []string, s string) driver.Rows {
row := make([]driver.Value, len(columns))
for i, v := range r {
v := strings.TrimSpace(v)
row[i] = v
row[i] = []byte(v)
}
rs.rows = append(rs.rows, row)
}