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

@ -2,8 +2,8 @@ package gaypoints
import (
"database/sql"
_ "modernc.org/sqlite"
"github.com/rs/zerolog/log"
_ "modernc.org/sqlite"
)
var gpSelectUser *sql.Stmt
@ -11,6 +11,7 @@ var gpSelectUser *sql.Stmt
var gpSelectChat *sql.Stmt
var gpSet *sql.Stmt
// TODO logging
// TODO switch to SQL
func sqlGetAllGP(chatid int64) (gaypoints []gaypointShortDetails) {

View file

@ -10,6 +10,7 @@ var notifySetReminder *sql.Stmt
var notifyGetReminders *sql.Stmt
var notifyGetReminderDetails *sql.Stmt
var notifyDeleteReminder *sql.Stmt
// TODO logging
// TODO switch to SQL
func InitDB() {

View file

@ -2,8 +2,8 @@ package nenefoot
import (
"database/sql"
_ "modernc.org/sqlite"
"github.com/rs/zerolog/log"
_ "modernc.org/sqlite"
)
var gpSelectUser *sql.Stmt