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

Clarify multiple type support #37

Closed twpayne closed 7 years ago

twpayne commented 7 years ago

Fixes #33.

awalterschulze commented 7 years ago

Sorry this is just a personal gripe. Could we some other names and not Foo and Bar. Earlier in the Readme I used MyStruct, we could reuse that or rather have ThisStruct or ThatType or something like that.
Every time, I see Foo and Bar my eyes start swimming.

But the actual content of what you wrote looks perfect :)

twpayne commented 7 years ago

Updated to use MyStruct and MySecondStruct.

awalterschulze commented 7 years ago

Looks good. Technically you could use any suffix, but I think this is the patten that I would like to promote :)

awalterschulze commented 7 years ago

Thank you very much :)