'golang patch string values on an object, recursive with filtering
Community,
The mission
basic
Implement a func that patches all string fields on an objects
details
- [done] fields shall only be patched if they match a
matcherfunc - [done] value shall be processed via
processfunc - patching shall be done recursive
- it shall also work for
[]string,[]*stringand recursive forstructsand[]struct,[]*struct
// update - removed old code
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
