create sqlite package

This commit is contained in:
nkanaev
2026-06-07 23:14:16 +01:00
parent 14835660fb
commit f29ad0c20a
14 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
package storage package storage
type IStorage interface { type Storage interface {
Close() error Close() error
CountItems() int CountItems() int
CreateFeed(params CreateFeedParams) *Feed CreateFeed(params CreateFeedParams) *Feed
@@ -25,3 +25,4 @@ type IStorage interface {
UpdateItemStatus(item_id int64, status ItemStatus) bool UpdateItemStatus(item_id int64, status ItemStatus) bool
UpdateSettings(params UpdateSettingsParams) bool UpdateSettings(params UpdateSettingsParams) bool
} }