stash/pkg/models/scraped.go

15 lines
257 B
Go

package models
type ScrapedItemReader interface {
All() ([]*ScrapedItem, error)
}
type ScrapedItemWriter interface {
Create(newObject ScrapedItem) (*ScrapedItem, error)
}
type ScrapedItemReaderWriter interface {
ScrapedItemReader
ScrapedItemWriter
}