We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4ee8b commit 0320dfcCopy full SHA for 0320dfc
payments/db/kv_store.go
@@ -133,6 +133,9 @@ type KVStore struct {
133
keepFailedPaymentAttempts bool
134
}
135
136
+// A compile-time constraint to ensure KVStore implements DB.
137
+var _ DB = (*KVStore)(nil)
138
+
139
// NewKVStore creates a new KVStore for payments.
140
func NewKVStore(db kvdb.Backend,
141
options ...OptionModifier) (*KVStore, error) {
0 commit comments