summaryrefslogtreecommitdiffstats
path: root/store/sql_store.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-10-09 13:47:11 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-10-13 09:42:27 -0400
commit5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27 (patch)
tree18040cd9936d625185f21fa9be9633025c4e0c02 /store/sql_store.go
parent8a7aa7f66f8f244ac17eda54b2a63b9538b55435 (diff)
downloadchat-5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27.tar.gz
chat-5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27.tar.bz2
chat-5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27.zip
Made structural changes to server-side Preference code based on feedback
Diffstat (limited to 'store/sql_store.go')
-rw-r--r--store/sql_store.go8
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)
-}