service

package
v0.0.0-...-190273a Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicatePair

type DuplicatePair struct {
	First      OrganizationIdName `json:"first"`
	Second     OrganizationIdName `json:"second"`
	Confidence float64            `json:"confidence"`
}

type DuplicatePairs

type DuplicatePairs struct {
	Duplicates []DuplicatePair `json:"duplicates"`
}

type OrganizationIdName

type OrganizationIdName struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type OrganizationService

type OrganizationService interface {
	DedupOrganizations()
}

func NewOrganizationService

func NewOrganizationService(cfg *config.Config, log logger.Logger, repositories *repository.Repositories, graphqlClient *graphql.Client) OrganizationService

type OrgsCompareResponse

type OrgsCompareResponse struct {
	Primary    string  `json:"primary"`
	Secondary  string  `json:"secondary"`
	Confidence float64 `json:"confidence"`
}

Jump to

Keyboard shortcuts

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