flounder

A simple gemini site builder
git clone git://git.alexwennerberg.com/flounder
Log | Files | Refs | README | LICENSE

commit bd7658d58a3073de8126f87b7c4aebc988442ac9
parent 3154f9c73f92f3feaa1802f98dd824b5ab5f9f09
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 17 Jan 2022 09:55:41 -0800

Remove unused function

Diffstat:
Mdb.go | 17-----------------
1 file changed, 0 insertions(+), 17 deletions(-)

diff --git a/db.go b/db.go @@ -54,23 +54,6 @@ func checkLogin(name string, password string) (string, bool, error) { } } -func getAnalyticsDB() (*sql.DB, error) { - db, err := sql.Open("sqlite3", c.AnalyticsDBFile) - _, err = db.Exec(`CREATE TABLE IF NOT EXISTS log ( - id INTEGER PRIMARY KEY NOT NULL, - timestamp TEXT NOT NULL, - protocol TEXT NOT NULL, - request_ip TEXT, - request_user TEXT, - status INTEGER, - destination_host TEXT, - path TEXT, - method TEXT, - referer TEXT -);`) - return db, err -} - type File struct { // also folders Creator string Name string // includes folder