Skip to content

Conversation

Kapparina
Copy link

@Kapparina Kapparina commented Apr 5, 2025

  • Implement Equal method to check for equality of keys and help text.
  • Import slices package to simplify key comparison logic.

Summary

This Pull Request introduces a new method to compare Binding objects for equality and updates the imports in the key.go file to include a new dependency.

Main Changes

  1. Added a new Equal method for the Binding struct to compare equality by checking keys and help values.
  2. Updated imports to include the slices package to assist with operations like sorting and comparing slices.
  3. No changes were made to existing logic besides the addition of the Equal method.

caarlos0 and others added 2 commits March 31, 2025 19:55
- Implement `Equal` method to check for equality of keys and help text.
- Import `slices` package to simplify key comparison logic.
@Kapparina Kapparina marked this pull request as ready for review April 5, 2025 12:20
@Kapparina Kapparina requested a review from meowgorithm as a code owner April 5, 2025 12:20
@Kapparina Kapparina changed the base branch from master to v2-exp April 6, 2025 02:05
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