How do interfaces in Go work when implementing functions with parameters/return values of a generalised type?
I’m new to Go and a bit confused in how interfaces work when implemented, especially wrt. functions that have parameters. Say I have an interface with function foo
that takes in an interface: