| 23 | var _ IDGenerator = (*DeterministicIDGenerator)(nil) |
| 24 | |
| 25 | type DeterministicIDGenerator struct { |
| 26 | buf []byte |
| 27 | seq *atomic.Uint64 |
| 28 | hash hash.Hash |
| 29 | } |
| 30 | |
| 31 | func NewDeterministicIDGenerator(tenantID string, seeds ...uint64) *DeterministicIDGenerator { |
| 32 | return &DeterministicIDGenerator{ |
nothing calls this directly
no outgoing calls
no test coverage detected