aboutsummaryrefslogtreecommitdiff
path: root/go.sum
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-10 12:58:56 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-10 13:00:25 -0700
commit07342c7dd5ac6c959629968af20a82232393d9d9 (patch)
treead43121f7fb743e0cc53407f237db66539712684 /go.sum
parentmpd-stats: create and run the scrobbler (diff)
downloadx-07342c7dd5ac6c959629968af20a82232393d9d9.tar.gz
scrobbler: add interface to the sqlite3 database
We want to persist the records in a database, so we can extract statistics and an history. The module for the database is straightforward: it opens the database if it exists and return an handler to it. If the database does not exists, we create it and we create the only table we need (records).
Diffstat (limited to 'go.sum')
-rw-r--r--go.sum2
1 files changed, 2 insertions, 0 deletions
diff --git a/go.sum b/go.sum
index 127090d..fab0f00 100644
--- a/go.sum
+++ b/go.sum
@@ -2,3 +2,5 @@ github.com/fhs/gompd/v2 v2.2.0 h1:zdSYAAOzQ5cCCgYa5CoXkL0Vr0Cqb/b5JmTobirLc90=
github.com/fhs/gompd/v2 v2.2.0/go.mod h1:nNdZtcpD5VpmzZbRl5rV6RhxeMmAWTxEsSIMBkmMIy4=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/mattn/go-sqlite3 v1.14.8 h1:gDp86IdQsN/xWjIEmr9MF6o9mpksUgh0fu+9ByFxzIU=
+github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=