Files
Stephan BehnkeandGitHub 8a099a9935 gowrap fault injection (#7056)
## What changed?
<!-- Describe what has changed in this PR -->

Use [gowrap](https://github.com/hexdigest/gowrap) for generating fault
injection code. Similar to
https://github.com/temporalio/temporal/pull/7050.

## Why?
<!-- Tell your future self why have you made these changes -->

Less code to maintain.

Before: 238 LOC.

After: 34 line Go Template.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->

Existing tests + eyeballing the output.

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
2025-01-14 11:19:31 -08:00
..
2025-01-14 11:19:31 -08:00
2025-01-14 11:19:31 -08:00
2025-01-14 11:19:31 -08:00
2025-01-14 11:19:31 -08:00