1 Comment

The Logger is used throughout the codebase, so going by this principle should the interface be defined in each of the consumer packages? There would be too many pkg.Logger{} interfaces. In such a case, would it still make sense to have the Logger interface defined in the producer?

Expand full comment