For better or for worse, Golang is an extremely simple language. It lacks some of the constructs other languages has. One of these features is generics (which at the time of writing, is about to be included in the language, though it hasn’t hit production yet). As a refresher, generics allow you to define variables … Continue reading Golang: one function, one argument – multiple types

By admin