mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-30 18:29:21 +08:00
* Use cmp.Equal instead of manual Equals methods Equals methods can get out-of-sync with the fields added in structs they compare. Using `cmp.Equal` handles that, removes a ton of code and makes it more explicit when specific fields are excluded from comparison. * Use gogoproto equal plugin for comparing proto values This will be faster than reflect-based go-cmp.