commit
2d32ddd028
@ -48,7 +48,7 @@ type Product struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
db, err := gorm.Open("sqlite", "test.db")
|
db, err := gorm.Open("sqlite3", "test.db")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic("failed to connect database")
|
panic("failed to connect database")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user