go-extractor/extractor.go

8 lines
125 B
Go

package extractor
import "context"
type Extractor interface {
Extract(ctx context.Context, src Source) (Article, error)
}