From 260000d00f244674ce23b5a960465db1a508e768 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 20 Jul 2015 22:46:04 +0000 Subject: [PATCH] Propagate argument in open function with table options --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b2c625f5..8470a8c7 100644 --- a/main.go +++ b/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) {