- Hands-On Dependency Injection in Go
- Corey Scott
- 61字
- 2021-06-10 19:17:46
What does this mean for Go?
In Chapter 1, Never Stop Aiming for Better, we mentioned Go's relationship with the Unix philosophy, which states that we should design code that does a single thing, but to does it well and works well together well with other code. After applying SRP, our objects will be perfectly in line with this principle.