This commit is contained in:
tobi
2021-10-13 13:50:24 +02:00
committed by GitHub
parent 27605f7c47
commit a07e62e49e
5 changed files with 8 additions and 9 deletions

View File

@@ -44,12 +44,12 @@ type Filter interface {
}
type filter struct {
db db.DB
db db.DB
}
// NewFilter returns a new Filter interface that will use the provided database.
func NewFilter(db db.DB) Filter {
return &filter{
db: db,
db: db,
}
}