Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 722 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 722 Bytes

zerowater

I was having fun playing with Go, the Zerolog library and Watermill... did not find a good adapter for the last one, so why not building a new one as a way of playing more with Go?

This is a pet project as a .NET developer so feel free to criticize 😉

Example Usage:

logger := zerowater.NewZerologLoggerAdapter(log.Logger.With().Str("component", "windmill").Logger())

pubSub := gochannel.NewGoChannel(gochannel.Config{}, logger)

Ideas:

  • Implement tests with mocks and not using the actual log.
  • Check why the stringer test on the original adapter for the log package on watermill does not work on zerolog.