operationsbus/entity.go (4 lines of code) (raw):
package operationsbus
// 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 Entity interface {
GetLatestOperationID() string
}