encodable a good
Former-commit-id: a0afebd82dfd256ec70c02c607af2a9b3b4b046f
This commit is contained in:
22
rss/item.go
Normal file
22
rss/item.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user