mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
a664a07303
* multi value slice * extract helper function * comments * setup godoc fix * value benchmarks * use guid * fix bug when deleting items * remove callback and rename MultiValue * godoc * tiny change * Nishant's review * typos --------- Co-authored-by: Nishant Das <nishdas93@gmail.com>
10 lines
202 B
Go
10 lines
202 B
Go
package interfaces
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
// Identifiable represents an object that can be uniquely identified by its Id.
|
|
type Identifiable interface {
|
|
Id() uuid.UUID
|
|
SetId(id uuid.UUID)
|
|
}
|