()
| 417 | } |
| 418 | |
| 419 | func (i *Identity) lastVersion() *version { |
| 420 | if len(i.versions) <= 0 { |
| 421 | panic("no version at all") |
| 422 | } |
| 423 | |
| 424 | return i.versions[len(i.versions)-1] |
| 425 | } |
| 426 | |
| 427 | // Id return the Identity identifier |
| 428 | func (i *Identity) Id() entity.Id { |
no outgoing calls
no test coverage detected