From 0fe853b1ee644703e2273ed4ce331cfd377af268 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Sat, 29 May 2021 19:36:54 +0200 Subject: first implementation of search feature --- internal/db/db.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/db/db.go') diff --git a/internal/db/db.go b/internal/db/db.go index e71484a6d..ea6f808cf 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -45,8 +45,9 @@ func (e ErrAlreadyExists) Error() string { } type Where struct { - Key string - Value interface{} + Key string + Value interface{} + CaseInsensitive bool } // DB provides methods for interacting with an underlying database or other storage mechanism (for now, just postgres). -- cgit v1.2.3