티스토리 뷰

공부

[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

'공부' 카테고리의 다른 글

[bitbucket] default description & checkbox not working in description & team mention not working...  (0) 2022.11.02
[golang] split  (0) 2022.10.19
[docker] kafka in flink  (0) 2022.10.15
[STS] tomcat  (0) 2022.10.15
[STS] openJDK  (0) 2022.10.15
댓글