fix typos

This commit is contained in:
Yasuhiro Matsumoto 2017-03-05 00:34:36 +09:00
parent 2fc807f668
commit 231af577dc
1 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ func (db *DB) tearDown() {
case MYSQL, POSTGRESQL: case MYSQL, POSTGRESQL:
db.mustExec("drop table if exists " + tbl) db.mustExec("drop table if exists " + tbl)
default: default:
db.Fatal("unkown dialect") db.Fatal("unknown dialect")
} }
} }
} }
@ -106,7 +106,7 @@ func (db *DB) blobType(size int) string {
case MYSQL: case MYSQL:
return fmt.Sprintf("VARBINARY(%d)", size) return fmt.Sprintf("VARBINARY(%d)", size)
} }
panic("unkown dialect") panic("unknown dialect")
} }
func (db *DB) serialPK() string { func (db *DB) serialPK() string {
@ -118,7 +118,7 @@ func (db *DB) serialPK() string {
case MYSQL: case MYSQL:
return "integer primary key auto_increment" return "integer primary key auto_increment"
} }
panic("unkown dialect") panic("unknown dialect")
} }
func (db *DB) now() string { func (db *DB) now() string {
@ -130,7 +130,7 @@ func (db *DB) now() string {
case MYSQL: case MYSQL:
return "now()" return "now()"
} }
panic("unkown dialect") panic("unknown dialect")
} }
func makeBench() { func makeBench() {