Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kzantow
Copy link
Contributor

@kzantow kzantow commented Jan 30, 2024

This PR adds handling to determine if an interface implementation uses a pointer receiver and can fail if not using a pointer receiver. The AddFlags call is also updated to require pointer receivers and fail if AddFlags is implemented using a non-pointer receiver.

Fixes #38

@kzantow kzantow marked this pull request as draft January 30, 2024 03:28
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.

Panic if AddFlags does not have a pointer receiver

1 participant