Are you excited to hit the ground running with Go 1.21’s new log/slog
package? That means testing it, right? And testing means mocks, right? Not so fast! Don’t mock slog! In my latest video, I talk about the problems with mocking, and the super simple alternative you can use when testing code that uses the new slog
package.
