()
| 750 | } |
| 751 | |
| 752 | func (c *Collection) initDefaultId() { |
| 753 | if c.Id == "" { |
| 754 | c.Id = c.idChecksum() |
| 755 | c.autogeneratedId = c.Id |
| 756 | } |
| 757 | } |
| 758 | |
| 759 | func (c *Collection) updateGeneratedIdIfExists(app App) { |
| 760 | if !c.IsNew() || |
no test coverage detected