mirror of https://github.com/go-gorm/gorm.git
change method NewDialect to New
This commit is contained in:
parent
52fd87c57b
commit
5ded927a9a
|
@ -8,7 +8,7 @@ type Dialect interface {
|
|||
ReturningStr(key string) string
|
||||
}
|
||||
|
||||
func NewDialect(driver string) Dialect {
|
||||
func New(driver string) Dialect {
|
||||
var d Dialect
|
||||
switch driver {
|
||||
case "postgres":
|
||||
|
|
Loading…
Reference in New Issue