readeef: Index | Files

package extract

import ""


Package Files

extract.go goose.go readability.go

func Get Uses

func Get(
    article content.Article,
    repo repo.Extract,
    generator Generator,
    processors []processor.Article,
) (content.Extract, error)

Get retrieves the extract from the repository. If it doesn't exist, a new one is created and stored before returning.

type Generator Uses

type Generator interface {
    Generate(link string) (content.Extract, error)

func WithGoose Uses

func WithGoose(templateDir string, fs http.FileSystem) (Generator, error)

func WithReadability Uses

func WithReadability(key string) (Generator, error)

Package extract imports 14 packages (graph) and is imported by 3 packages. Updated 2020-07-09. Refresh now. Tools for package owners.