mennanov / fieldmask-utils

Protobuf Field Mask Go utils
MIT License
229 stars 26 forks source link

whether add Option SrcTag() for copy from src tag #37

Closed zhuliquan closed 10 months ago

zhuliquan commented 10 months ago

https://github.com/mennanov/fieldmask-utils/blob/f9573a9a16fd68cd4ab04fca7d1b16dadc7e346a/copy.go#L74C4-L74C14

now mask.Filter use the FiledName of object, However, path also input json_tag, I hope this package can add SrcTag Option for this scene

zhuliquan commented 10 months ago

I add this feature in PR https://github.com/mennanov/fieldmask-utils/pull/38

mennanov commented 10 months ago

Thanks for contributing!