Re:Revisiting Interface Segregation in Go
by durbatuluk on Friday November 07, 2025 @02:37PM
(#45850142)
Any method you forget to overwrite from the embed struct gives a false "impression" you can call any method from mockS3.
Most of time code inside test will be:
Go is flexible, you can define a complete interface at producer and consumers still can use their own interface only with required methods if they want.
[ Parent
| on HN ]
There are no comments on this comment yet.