Golang: what to return? A slice of structs vs a slice of pointers?

preview_player
Показать описание
In this video, I would like to answer a question: what is better to return from the function in go, slice with pointers, or slice with structs.

#golang #go #slice

Рекомендации по теме
Комментарии
Автор

following the end of the video - what situations would i prefer the first approach?

JaJDoo
join shbcf.ru