Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mutate3 command using Expr language #268

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

moorereason
Copy link
Contributor

I'm submitting this PR so that others can evaluate the Expr language engine.

I intentionally made the first commit in this PR so that it would be a little easier to see that I mostly just copied the mutate2.go file. The second commit is a little noisy since I moved the core logic into a separate function, which made unit testing must simpler.

Thanks for evaluating this PR.

Updates #172

Rewrites the copied mutate2 command to use Expr.  With the goal of
writing unit tests, I created a mutate3Opts struct and moved the core
logic into a separate `doMutate3()` function.
@shenwei356 shenwei356 merged commit 9407f73 into shenwei356:master Apr 2, 2024
@shenwei356
Copy link
Owner

It's a mazing, appreciate it! @moorereason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants