AddEventPriorState adds the prior state of the modified object to the audit record
(object Auditable)
| 113 | |
| 114 | // AddEventPriorState adds the prior state of the modified object to the audit record |
| 115 | func (rec *AuditRecord) AddEventPriorState(object Auditable) { |
| 116 | rec.EventData.PriorState = object.Auditable() |
| 117 | } |
| 118 | |
| 119 | // AddEventResultState adds the result state of the modified object to the audit record |
| 120 | func (rec *AuditRecord) AddEventResultState(object Auditable) { |