encodable a good

Former-commit-id: a0afebd82dfd256ec70c02c607af2a9b3b4b046f
This commit is contained in:
bel
2019-06-22 08:58:54 -06:00
parent 730cf1e15a
commit be065c5dcb
12 changed files with 260 additions and 86 deletions

22
rss/item.go Normal file
View File

@@ -0,0 +1,22 @@
package rss
import (
"errors"
"local/rssmon3/config"
"github.com/mmcdole/gofeed"
)
type Item struct {
*config.Encodable
}
func newItem(i *gofeed.Item, contentFilter string) (*Item, error) {
return &Item{
Encodable: &config.Encodable{},
}, errors.New("not impl")
}
func (i *Item) save() error {
return errors.New("not impl")
}