anchore / fangs

Apache License 2.0
5 stars 1 forks source link

feat: fail with non-pointer receivers #39

Open kzantow opened 9 months ago

kzantow commented 9 months ago

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