Propagate argument in open function with table options

This commit is contained in:
Gabriel 2015-07-20 22:46:04 +00:00
parent 8848fc476d
commit 260000d00f
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ type DB struct {
} }
func Open(dialect string, args ...interface{}) (DB, error) { 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) { func OpenWithTableSuffix(dialect, tableSuffix string, args ...interface{}) (DB, error) {