공부
[golang] merge map
승가비
2022. 10. 15. 11:25
728x90
for k, v := range b {
a[k] = v
}
https://stackoverflow.com/questions/22621754/how-can-i-merge-two-maps-in-go
How can I merge two maps in go?
I have a recursive function that creates objects representing file paths (the keys are paths and the values are info about the file). It's recursive as it's only meant to handle files, so if a dire...
stackoverflow.com
728x90