go fmt
This commit is contained in:
parent
cd14452f31
commit
5c8c0eb69c
5 changed files with 10 additions and 8 deletions
|
@ -2,8 +2,8 @@ package gaypoints
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
_ "modernc.org/sqlite"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
_ "modernc.org/sqlite"
|
||||||
)
|
)
|
||||||
|
|
||||||
var gpSelectUser *sql.Stmt
|
var gpSelectUser *sql.Stmt
|
||||||
|
@ -11,6 +11,7 @@ var gpSelectUser *sql.Stmt
|
||||||
var gpSelectChat *sql.Stmt
|
var gpSelectChat *sql.Stmt
|
||||||
|
|
||||||
var gpSet *sql.Stmt
|
var gpSet *sql.Stmt
|
||||||
|
|
||||||
// TODO logging
|
// TODO logging
|
||||||
// TODO switch to SQL
|
// TODO switch to SQL
|
||||||
func sqlGetAllGP(chatid int64) (gaypoints []gaypointShortDetails) {
|
func sqlGetAllGP(chatid int64) (gaypoints []gaypointShortDetails) {
|
||||||
|
|
|
@ -10,6 +10,7 @@ var notifySetReminder *sql.Stmt
|
||||||
var notifyGetReminders *sql.Stmt
|
var notifyGetReminders *sql.Stmt
|
||||||
var notifyGetReminderDetails *sql.Stmt
|
var notifyGetReminderDetails *sql.Stmt
|
||||||
var notifyDeleteReminder *sql.Stmt
|
var notifyDeleteReminder *sql.Stmt
|
||||||
|
|
||||||
// TODO logging
|
// TODO logging
|
||||||
// TODO switch to SQL
|
// TODO switch to SQL
|
||||||
func InitDB() {
|
func InitDB() {
|
||||||
|
|
|
@ -2,8 +2,8 @@ package nenefoot
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
_ "modernc.org/sqlite"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
_ "modernc.org/sqlite"
|
||||||
)
|
)
|
||||||
|
|
||||||
var gpSelectUser *sql.Stmt
|
var gpSelectUser *sql.Stmt
|
||||||
|
|
Loading…
Reference in a new issue