This commit is contained in:
watn3y 2023-12-29 05:28:34 +01:00
parent cd14452f31
commit 5c8c0eb69c
5 changed files with 10 additions and 8 deletions

View file

@ -10,8 +10,9 @@ var notifySetReminder *sql.Stmt
var notifyGetReminders *sql.Stmt
var notifyGetReminderDetails *sql.Stmt
var notifyDeleteReminder *sql.Stmt
//TODO logging
//TODO switch to SQL
// TODO logging
// TODO switch to SQL
func InitDB() {
const dbPath string = "data/db/notify.db"
log.Info().Str("dbpath", dbPath).Msg("init database")