Commit graph

2 commits

Author SHA1 Message Date
Gusted
dab28c7049
Use JSON module instead of stdlib json () 2021-12-17 09:15:02 +08:00
wxiaoguang
960c322586
Refactor update checker to use AppState ()
We have the `AppState` module now, it can store app related data easily. We do not need to create separate tables for each feature.

So the update checker can use `AppState` instead of a one-row dedicate table.

And the code of update checker is moved from `models` to `modules`.
2021-10-21 17:10:49 +01:00
Renamed from models/update_checker.go (Browse further)