ingest

package
v0.0.0-...-faaa73c Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Posts = &PostIngester{
	client:  client.New(),
	results: collection.New[*models.Post](),
}

Functions

This section is empty.

Types

type PostIngester

type PostIngester struct {
	// contains filtered or unexported fields
}

PostIngester

func (*PostIngester) FilterDistinctAuthors

func (p *PostIngester) FilterDistinctAuthors() *collection.Collection[*models.Author]

FilterDistinctAuthors

func (*PostIngester) Get

func (p *PostIngester) Get(slug, hostname string, wg *sync.WaitGroup)

Get

func (*PostIngester) GroupPostsByTag

func (p *PostIngester) GroupPostsByTag() *collection.Collection[models.Tag]

GroupPostsByTag

func (*PostIngester) Results

func (p *PostIngester) Results() *collection.Collection[*models.Post]

Results

Jump to

Keyboard shortcuts

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