mirror of
https://github.com/nkanaev/yarr.git
synced 2026-06-15 12:35:04 +00:00
create sqlite package
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user