Michael Lynch
15caa9988b
Get rid of global state for config
2025-01-04 20:00:25 -05:00
Michael Lynch
41784ec681
Make conf settings read-only
...
It feels a bit messy that the entire program has write access to the configuration as a shared global object. Shared globals make it more difficult to reason about a program's behavior.
This rewrite reduces the problem a bit by making the shared global state read-only after the client calls conf.Load.
2025-01-02 20:24:36 -05:00
rook1e
10d99094fe
refactor: switch to cgo-free sqlite driver
2024-12-23 11:38:27 +08:00
rook1e
a7c4fda806
fix( #27 ): utilize gorm built-in hasTable
2024-09-03 11:14:46 +08:00
rook1e
8ba841d08a
fix: custom migration should skip the first launch
2024-08-25 19:58:40 +08:00
rook1e
8beb858c40
feat( #5 ): create groups and import feeds into them, based on opml
2024-08-25 18:40:34 +08:00
rook1e
263f2fb875
fix: delete useless db migration ( #1 )
2024-04-08 16:03:46 +08:00
rook1e
428210efa0
fix: error when creating idx_guid in items table
2024-03-13 13:45:59 +08:00
rook1e
340f3be641
refactor: combine guid, feed_id and deletedAt as unique identity
2024-03-13 00:29:24 +08:00
rook1e
d91a5a5e3c
refactor: error handling
2024-03-12 22:57:53 +08:00
rook1e
5dee1de132
feat: add support for suspending/resuming a feed
2024-03-12 01:00:35 +08:00
rook1e
e9b065e9fb
init
2024-03-06 16:54:13 +08:00