mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
pkg: fix incorrect prints found by govet
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5266041
This commit is contained in:
parent
beed0a7844
commit
c50182480d
4 changed files with 4 additions and 4 deletions
|
|
@ -145,7 +145,7 @@ func (db *fakeDB) createTable(name string, columnNames, columnTypes []string) os
|
|||
}
|
||||
if len(columnNames) != len(columnTypes) {
|
||||
return fmt.Errorf("create table of %q len(names) != len(types): %d vs %d",
|
||||
len(columnNames), len(columnTypes))
|
||||
name, len(columnNames), len(columnTypes))
|
||||
}
|
||||
db.tables[name] = &table{colname: columnNames, coltype: columnTypes}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue