Open ivanjaros opened 1 year ago
It is considered bad code when method receiver name does not match existing name. ie. func(f Foo) vs func(o Foo).
func(f Foo)
func(o Foo)
I've just made a PR to get existing receiver names and reuse it. This would solve the problem. https://github.com/globusdigital/deep-copy/pull/32 https://github.com/globusdigital/deep-copy/pull/39
It is considered bad code when method receiver name does not match existing name. ie.
func(f Foo)
vsfunc(o Foo)
.