diff options
Diffstat (limited to 'store/sql_store.go')
-rw-r--r-- | store/sql_store.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/store/sql_store.go b/store/sql_store.go index c31515a44..4b055e455 100644 --- a/store/sql_store.go +++ b/store/sql_store.go @@ -612,11 +612,3 @@ func decrypt(key []byte, cryptoText string) (string, error) { return fmt.Sprintf("%s", ciphertext), nil } - -// Interface for both gorp.DbMap and gorp.Transaction to allow code for one to be reused with the other -type Queryable interface { - Exec(query string, args ...interface{}) (dbsql.Result, error) - Insert(list ...interface{}) error - SelectInt(query string, args ...interface{}) (int64, error) - Update(list ...interface{}) (int64, error) -} |