awalterschulze / goderive

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

allow a custom map type to declare DeepCopy func #87

Closed ndeloof closed 3 months ago

ndeloof commented 4 months ago

This PR allows a type alias (type foo map[string]bar) to declare a custom DeepCopy method

awalterschulze commented 3 months ago

All paths have changed, so I don't think this will work

ndeloof commented 3 months ago

I had to change go module source so I can use my fork in compose-go the relevant changes are in https://github.com/awalterschulze/goderive/pull/87/files#diff-42a8d5346bcda44c10315b1471d62a3a2cf7800840bfe6e51ac1724e51a52871L372-R394

awalterschulze commented 3 months ago

To make a pull request, you would need to fix the paths

ndeloof commented 3 months ago

created another PR from a branch