summaryrefslogtreecommitdiff
path: root/srv/src/mailinglist
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/mailinglist')
-rw-r--r--srv/src/mailinglist/store.go3
1 files changed, 2 insertions, 1 deletions
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)