mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 08:00:04 +01:00
Separate cmd package for easier importing (#11)
This commit is contained in:
parent
247d7296f8
commit
e393f387b3
21 changed files with 408 additions and 368 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package main
|
||||
package dbmate
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
|
@ -33,7 +33,7 @@ func GetDriver(name string) (Driver, error) {
|
|||
case "sqlite", "sqlite3":
|
||||
return SQLiteDriver{}, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("Unknown driver: %s", name)
|
||||
return nil, fmt.Errorf("unknown driver: %s", name)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue