Golang generic functions – mimic Javascript methods: Map, Contains, Filter, Reduce

Go Generics I’ve been working on some Go projects lately, and I gotta say – there’s been a lot of duplicated code going on. It’s weird, because I’ve never seen so much of it in my previous projects. It’s like the more I work with Go, the more I realize that some of its built-in…