Range over Function Types – The Go Blog
go.dev