Skip to content

Generics

Repos or Libraries

  • samber/lo Go library based on Go 1.18+ Generics (map, filter, contains, find)
  • deckarep/golang-set simple, battle-tested and generic set type for the Go language
  • duke-git/lancet Lancet is a comprehensive, efficient, and reusable util function library of go. Inspired by the java apache common package and lodash.js.
  • mattn/go-generics-example example code for Go generics
  • zyedidia/generic a collection of generic data structures written in Go