DEV Community

Discussion on: 20 Advanced Golang Interview Questions asked for a Senior Developer position

Collapse
 
davidkroell profile image
David Kröll

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

Doesn't the copy() create deep copies?