Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStruct ¶
type DataStruct interface{}
type Diff ¶
type Diff[T any] struct { CurrentValue map[string]Value[T] NewValue map[string]Value[T] EventCallback func([]Events[T]) CurrentEvent []Events[T] // contains filtered or unexported fields }
func (*Diff[T]) AddNewValue ¶
func (*Diff[T]) SetCallback ¶
type EventState ¶
type EventState string
var EventStateAdded EventState = "added"
var EventStateDeleted EventState = "deleted"
var EventStateUpdated EventState = "updated"
type Events ¶
type Events[T any] struct { ID string State EventState Data T }
Click to show internal directories.
Click to hide internal directories.