ontology

package
v0.0.0-...-f29e771 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package ontology provides functionality to interact with ontologies stored in a Baserow table. It includes functions to load new terms into the table or update existing entries based on their deprecation status. The package handles the construction and execution of HTTP requests to the Baserow API, and the marshaling and unmarshaling of JSON data as needed for the ontology terms.

Index

Constants

View Source
const ConcurrentTermLoader = 10

Variables

This section is empty.

Functions

func LoadNew

func LoadNew(args *LoadProperties) error

func LoadNewOrUpdate

func LoadNewOrUpdate(args *LoadProperties) error

Types

type FnRunnerProperties

type FnRunnerProperties struct {
	Fn    func(*termRowProperties) error
	Props *termRowProperties
}

type LoadProperties

type LoadProperties struct {
	File    string
	TableId int
	Token   string
	Client  *client.APIClient
	Logger  *logrus.Entry
}

type LoadingLooper

type LoadingLooper struct {
	Handler *FnRunnerProperties
}

func (*LoadingLooper) Run

func (ldo *LoadingLooper) Run() error

Jump to

Keyboard shortcuts

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