()
| 11 | } |
| 12 | |
| 13 | func NewDeterministicUUIDGenerator() *DeterministicUUIDGenerator { |
| 14 | return &DeterministicUUIDGenerator{ |
| 15 | Named: make(map[string]uuid.UUID), |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func (d *DeterministicUUIDGenerator) ID(name string) uuid.UUID { |
| 20 | if v, ok := d.Named[name]; ok { |
no outgoing calls