extract

package
v0.0.0-...-95c851e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL