db, add item and functions to get items
Creates item. It's pretty barebowns until I implement fetching. I also added get functions for feed and channel to get items with.
This commit is contained in:
parent
ac6e71eb62
commit
1c3f4cc854
5 changed files with 179 additions and 2 deletions
|
|
@ -4,6 +4,8 @@ mod feed;
|
|||
pub use feed::Feed;
|
||||
mod channel;
|
||||
pub use channel::Channel;
|
||||
mod item;
|
||||
pub use item::Item;
|
||||
|
||||
macro_rules! define_key {
|
||||
($name:ident) => {
|
||||
|
|
@ -15,3 +17,4 @@ macro_rules! define_key {
|
|||
define_key!(UserKey);
|
||||
define_key!(FeedKey);
|
||||
define_key!(ChannelKey);
|
||||
define_key!(ItemKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue