Documentation ¶
Overview ¶
Package modelid provides a way to identify a specific model instance by providing a global counter that is incremented each time a new model is created.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID uint
ID is a unique identifier for a model
It can be used to identify a specific instance of a model within a collection of models, which is useful when you need to update a specific model using a message
Create a new ID using Next
Click to show internal directories.
Click to hide internal directories.