McElfresh Blog

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

Go Interfaces Part 1

Posted at — Mar 7, 2026

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.