awalterschulze / goderive

Derives and generates mundane golang functions that you do not want to maintain yourself
Apache License 2.0
1.23k stars 44 forks source link

fix #82 deriveEqual #83

Closed sakeven closed 1 year ago

sakeven commented 1 year ago

Use Equal() instead of '==' if it is defined on T, even if the type canEqual

awalterschulze commented 1 year ago

In principle this looks good, but you need to regenerate the project's code make action might do the trick

sakeven commented 1 year ago

Thanks, I just pushed new code with generated file.