Add a Compare function
Open
tpmdirect
- Dominant language
- Go
- Stars
- 673
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
Since a lot of the tpmdirect structs have private members, we should create a convenient way to compare two values without hassling with adding enough types into `cmpopts.IgnoreUnexportedFields`.
Contributor guide
Research direction
Start by locating the tpmdirect structs and reviewing how cmpopts.IgnoreUnexportedFields is currently used when comparing them. Define the intended Compare API and its behavior for these private members, then add coverage demonstrating comparisons between equivalent and differing values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100