google / google/go-cmp

Provide Diff statistics

Open
#323 1 comment 0 reactions 0 assignees View on GitHub
reporter
Dominant language
Go
Stars
4.7k
Forks
243
PR merge metrics
No merged PRs in 30d

Description

Hey there,

we have a Google internal Use case, where it would be nice to support Diff statistics. Any chance that we can get this into go-cmp?

I thought about something like:

* Total: Total number of Differences (each line counts as a difference)
* Additions: Number of additions
* Changes: Number of Changes
* Removals: Number of Removals

As first draft a total number is sufficient.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.