mirror of https://github.com/go-gorm/gorm.git
Propagate argument in open function with table options
This commit is contained in:
parent
8848fc476d
commit
260000d00f
2
main.go
2
main.go
|
@ -38,7 +38,7 @@ type DB struct {
|
|||
}
|
||||
|
||||
func Open(dialect string, args ...interface{}) (DB, error) {
|
||||
return OpenWithTableSuffix(dialect, "", args)
|
||||
return OpenWithTableSuffix(dialect, "", args...)
|
||||
}
|
||||
|
||||
func OpenWithTableSuffix(dialect, tableSuffix string, args ...interface{}) (DB, error) {
|
||||
|
|
Loading…
Reference in New Issue