basic internal db interfaces and Gorm implementation

* db reader and writer interfaces which should allow us to encapsulate the vast majority of database code in this package.

* GormReadWriter implementation of the Reader and Writer interfaces
This commit is contained in:
Jim authored and GitHub committed 2020-05-05 13:29:47 -04:00
1 parent 1519a17f17
commit 27b4d7a034
15 files changed
+2510

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package db
import (
"testing"
)
func Test_Utils(t *testing.T) {
t.Parallel()
cleanup, conn := TestSetup(t, "migrations/postgres")
defer cleanup()
defer conn.Close()
t.Run("nothing", func(t *testing.T) {
})
}