Add compile tests to verify physical stores satisfy the correct interfaces (#3820)

This commit is contained in:
Brian Kassouf
2018-01-19 17:44:24 -08:00
committed by GitHub
parent 2fea072515
commit fbe5f87278
20 changed files with 76 additions and 27 deletions

View File

@@ -16,6 +16,9 @@ import (
"github.com/lib/pq"
)
// Verify PostgreSQLBackend satisfies the correct interfaces
var _ physical.Backend = (*PostgreSQLBackend)(nil)
// PostgreSQL Backend is a physical backend that stores data
// within a PostgreSQL database.
type PostgreSQLBackend struct {