*
Jes Olson j3s@c3f.net
Sun, 19 Mar 2023 06:10:18 -0700
1 files changed,
0 insertions(+),
18 deletions(-)
jump to
M
sqlite/sql.go
→
sqlite/sql.go
@@ -51,24 +51,6 @@ if err != nil {
panic(err) } - // TODO: remove these, they're for testing - _, err = db.Exec("INSERT INTO feed (url) VALUES (?)", "https://j3s.sh/feed.atom") - if err != nil { - panic(err) - } - _, err = db.Exec("INSERT INTO feed (url) VALUES (?)", "https://sequentialread.com/rss/") - if err != nil { - panic(err) - } - _, err = db.Exec("INSERT INTO subscribe (user_id, feed_id) VALUES (1, 1)") - if err != nil { - panic(err) - } - _, err = db.Exec("INSERT INTO subscribe (user_id, feed_id) VALUES (1, 2)") - if err != nil { - panic(err) - } - return &DB{sql: db} }