From 6b505a5da88f3ac933cf1eca5619f53c4c7d7257 Mon Sep 17 00:00:00 2001 From: DelphicOkami Date: Sun, 22 Mar 2026 20:25:00 +0000 Subject: [PATCH] refactor(go): enforce notestore interface --- internal/store/sqlite/sqlite.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/store/sqlite/sqlite.go b/internal/store/sqlite/sqlite.go index 04bf231..60e8684 100644 --- a/internal/store/sqlite/sqlite.go +++ b/internal/store/sqlite/sqlite.go @@ -10,6 +10,7 @@ import ( "modernc.org/sqlite" "git.hrafn.xyz/aether/gotes/internal/models" + "git.hrafn.xyz/aether/gotes/internal/repository" ) const sqlSet = ` @@ -17,6 +18,8 @@ const sqlSet = ` PRAGMA busy_timeout = 7000; ` +var _ repository.NoteStore = &SQLiteStore{} + type SQLiteStore struct { read *sql.DB write *sql.DB