()
| 28 | } |
| 29 | |
| 30 | func (e *ConflictError) Error() string { |
| 31 | return fmt.Sprintf("transaction conflict: %s for operation %v", e.Reason, e.Operation) |
| 32 | } |
| 33 | |
| 34 | // ConflictDetector detects conflicts between transaction operations and current model state. |
| 35 | type ConflictDetector struct { |
no outgoing calls