Close #124: Add support for Postgres as a storage solution

This commit is contained in:
TwinProduction authored and Chris committed 2021-09-10 19:01:44 -04:00
1 parent 06ef7f9efe
commit bacf7d841b
47 files changed
+7593 -244

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/TwinProduction/gatus/storage/store/sqlite"
"github.com/TwinProduction/gatus/storage/store/sql"
)
func TestGet(t *testing.T) {
@@ -44,7 +44,7 @@ func TestInitialize(t *testing.T) {
{
Name: "sqlite-no-file",
Cfg: &Config{Type: TypeSQLite},
ExpectedErr: sqlite.ErrFilePathNotSpecified,
ExpectedErr: sql.ErrFilePathNotSpecified,
},
{
Name: "sqlite-with-file",