Why not something like this: Go Playground - The Go Programming Language
IMO: If Foo implements a “low level interface” Bar’s constructor should not be constructing it.
Why not something like this: Go Playground - The Go Programming Language
IMO: If Foo implements a “low level interface” Bar’s constructor should not be constructing it.