lookup

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: BSD-3-Clause Imports: 3 Imported by: 2

README

go-lookup

Work in progress.

Documentation

Overview

Package lookup provides interfaces for generating lookup tables from arbritrary data sources.

A lookup consists of a catalog.Catalog instance, one or more iterator.Iterator instances and one or more iterator.AppendLookupFunc callback functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeedCatalog

func SeedCatalog(ctx context.Context, c catalog.Catalog, iters []iterator.Iterator, append_funcs []iterator.AppendLookupFunc) error

Seed a Catalog instance with one or more Iterator instances. Catalogs are seeded according to rules defined in the list of AppendLookupFunc functions that are passed in to the method.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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