DEV Community

20 Advanced Golang Interview Questions asked for a Senior Developer position

Dsysd Dev on June 28, 2023

I have taken many interviews and these are some of the questions I ask consistently to test a candidate's knowledge on go What are goro...
Collapse
 
davidkroell profile image
David Kröll

The copy() function can be used for shallow copying slices.

Doesn't the copy() create deep copies?