From f7d72adfb594980b0442c0fa7b5586e6248f96ac Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 6 May 2022 17:22:17 -0600 Subject: Implement post.Store --- srv/src/mailinglist/store.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'srv/src/mailinglist/store.go') diff --git a/srv/src/mailinglist/store.go b/srv/src/mailinglist/store.go index f9790c0..a7a210f 100644 --- a/srv/src/mailinglist/store.go +++ b/srv/src/mailinglist/store.go @@ -83,7 +83,8 @@ type store struct { db *sql.DB } -// NewStore initializes a new store using the given SQL DB instance. +// NewStore initializes a new Store using a sqlite3 database at the given file +// path. func NewStore(dbFile string) (Store, error) { db, err := sql.Open("sqlite3", dbFile) -- cgit v1.2.3