Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History[T any] struct { Latest *HistoryItem[T] `json:"latest"` History []HistoryItem[T] `json:"history"` }
func (*History[T]) AddOrUpdateLatestItem ¶
func (h *History[T]) AddOrUpdateLatestItem(data T)
func (*History[T]) Initialized ¶
Click to show internal directories.
Click to hide internal directories.