entity

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity interface {
	GetLatestOperationID() string
}

This is the entity that will be grabbed from the database by each implementer. They will have to use this GetLatestOperationId() method when guarding for concurrency.

type EntityFactoryFunc

type EntityFactoryFunc func(string) (Entity, error)

The EntityFactoryFunc is utilized as an interface for a function to create entity.Entity types.

Jump to

Keyboard shortcuts

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