aboutsummaryrefslogtreecommitdiff
path: root/cacheDatabase.go
diff options
context:
space:
mode:
Diffstat (limited to 'cacheDatabase.go')
-rw-r--r--cacheDatabase.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/cacheDatabase.go b/cacheDatabase.go
index d735cfe..b50065f 100644
--- a/cacheDatabase.go
+++ b/cacheDatabase.go
@@ -1,8 +1,11 @@
package main
-import "fmt"
-import "database/sql"
-import _ "github.com/lib/pq"
+import (
+ "database/sql"
+ "fmt"
+
+ _ "github.com/lib/pq"
+)
func WriteObjectToCache(db *sql.DB, obj ObjectBase) ObjectBase {