rm sqlite

This commit is contained in:
Chris Sexton 2021-12-21 14:30:41 -05:00
parent b585c674c7
commit a34770adaa
3 changed files with 0 additions and 16 deletions

View File

@ -3,7 +3,6 @@ FROM alpine:edge
RUN apk add --no-cache git RUN apk add --no-cache git
RUN apk add --no-cache musl-dev RUN apk add --no-cache musl-dev
RUN apk add --no-cache gcc RUN apk add --no-cache gcc
RUN apk add --no-cache sqlite
RUN apk add --no-cache go RUN apk add --no-cache go
RUN apk add --no-cache perl RUN apk add --no-cache perl
RUN apk add --no-cache make RUN apk add --no-cache make

View File

@ -13,9 +13,6 @@ This bot was written a long time back in the spare time of a busy person. The co
* Action * Action
* FullText * FullText
* Operator * Operator
* Figure out something better for time?
* SQLite has a datetime, but the driver can't seem to handle null
* SQLite sometimes returns a different date string, which appers to be what the driver is trying to translate from/to
* Implement factoid aliasing * Implement factoid aliasing
* Implement an object system for the give/take commands * Implement an object system for the give/take commands
* Create some kind of web reference page * Create some kind of web reference page

View File

@ -192,18 +192,6 @@ func (c *Config) SetArray(key string, values []string) error {
return c.Set(key, vals) return c.Set(key, vals)
} }
//func init() {
// regex := func(re, s string) (bool, error) {
// return regexp.MatchString(re, s)
// }
// sql.Register("sqlite3_custom",
// &sqlite3.SQLiteDriver{
// ConnectHook: func(conn *sqlite3.SQLiteConn) error {
// return conn.RegisterFunc("REGEXP", regex, true)
// },
// })
//}
// Readconfig loads the config data out of a JSON file located in cfile // Readconfig loads the config data out of a JSON file located in cfile
func ReadConfig(storepath string) *Config { func ReadConfig(storepath string) *Config {
store, err := bh.Open(storepath, 0666, nil) store, err := bh.Open(storepath, 0666, nil)