duplicatedetector

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDetectDuplicates

func DefaultDetectDuplicates(
	config configuration.DuplicateDetectorConfiguration,
	db *gorm.DB,
	rmq *rabbitmq.Client,
	logger zerolog.Logger,
) error

func DetectDuplicates

func DetectDuplicates(
	config configuration.DuplicateDetectorConfiguration,
	db *gorm.DB,
	rmq *rabbitmq.Client,
	customizeQuery CustomizeQueryFunc,
	logger zerolog.Logger,
) error

Types

type CustomizeQueryFunc

type CustomizeQueryFunc func(tx *gorm.DB, webArticle *models.WebArticle) (*gorm.DB, error)

type Worker

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

Jump to

Keyboard shortcuts

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