May 16, 2023
I personally thing that the implication of this principle is that interfaces in Go should be created (in most cases) on the consumer-side. Up to the clients to decide whether they need an abstraction or not.
I personally thing that the implication of this principle is that interfaces in Go should be created (in most cases) on the consumer-side. Up to the clients to decide whether they need an abstraction or not.
Software Engineer @Google | The Coder Cafe newsletter (https://thecoder.cafe) | 📖 100 Go Mistakes author | 改善