From 96ccacaae2af73f4719ef0fa8f21256a6b59b03a Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 21 Jan 2026 10:52:15 +0000 Subject: [PATCH] db: remove unused KV struct The KV struct was marked as "For future use" with a TODO asking if it's used anywhere. It was never used and can be safely removed. --- hscontrol/db/db.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hscontrol/db/db.go b/hscontrol/db/db.go index 68f32e74..84520e65 100644 --- a/hscontrol/db/db.go +++ b/hscontrol/db/db.go @@ -46,13 +46,6 @@ const ( contextTimeoutSecs = 10 ) -// KV is a key-value store in a psql table. For future use... -// TODO(kradalby): Is this used for anything? -type KV struct { - Key string - Value string -} - type HSDatabase struct { DB *gorm.DB cfg *types.Config