Skip to content

Commit

Permalink
Update README.md (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
seborama authored Aug 15, 2022
1 parent 0064df7 commit 2fbc109
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,15 @@ Nonetheless, **govcr** supports mutating tracks, either at **recording time** or

In either case, this is achieved with track `Mutators`.

A `Mutator` can be combined with one or more `On` conditions. All `On` conditions attached to a mutator must be true for the mutator to apply - in other word, they are logically "and-ed".
A `Mutator` can be combined with one or more `On` conditions. All `On` conditions attached to a mutator must be true for the mutator to apply - in other words,
they are logically "and-ed".

To help construct more complex yet readable predicates easily, **govcr** provides these pre-defined functions for use with `On`:
- `Any` achieves a logical "**or**" of the provided predicates.
- `All` achieves a logical "**and**" of the provided predicates.
- `Not` achieves a logical "**not**" of the provided predicates.

Example:
Examples:

```go
myMutator.
Expand Down

0 comments on commit 2fbc109

Please sign in to comment.