Go Syntax - Interface Collections

preview_player
Показать описание
Unlike object-oriented programming languages, all grouping in Go is based on behavior.

In this example, we are creating a collection of data not based on what the concrete data is but on what it can do. We will then look at the use of value semantics vs pointer semantics and how that affects the data.

--

Other Links:
Рекомендации по теме
visit shbcf.ru