1234567891011121314151617 |
- //go:build !sqlite3
- // +build !sqlite3
- package database
- import (
- "gorm.io/driver/mysql"
- "gorm.io/driver/postgres"
- "gorm.io/driver/sqlserver"
- "gorm.io/gorm"
- )
- var opens = map[string]func(string) gorm.Dialector{
- "mysql": mysql.Open,
- "postgres": postgres.Open,
- "sqlserver": sqlserver.Open,
- }
|