Back to godoc.org

Package extract

v0.0.0-...-ffd16d0
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: LGPL-3.0 | Module: github.com/urandom/readeef

Index

func Get

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

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

func WithGoose

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

func WithReadability

func WithReadability(key string) (Generator, error)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier