23 lines
340 B
Go
23 lines
340 B
Go
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")
|
|
}
|