McElfresh Blog

Go, PostgreSQL, MySQL, Ruby, Rails, Sinatra, etc.

Go Interfaces Part 1

Posted at — Jan 7, 2025

Go has two kinds of interfaces: method sets, whose function is to allow for various kinds of composition, and type constraints, which allow for generics.