Re:Go 1.21 Released
by kiitos on Sunday August 13, 2023 @02:02AM
(#37107125)
Haha, zap did not pioneer anything, what are you talking about.
[ Parent
| on HN ]
Re:Go 1.21 Released
by yencabulator on Sunday August 13, 2023 @12:27PM
(#37111411)
"Haha", great attitude dissing other people's work. https://news.ycombinator.com/newsguidelines.html
What Go structured logging libraries predate Zap's 2016 creation? Only one I can remember is Logrus, which was using type Fields map[string]interface{}, the bad qualities of which are kinda the whole reason for Zap's creation, and slog follows the Zap-style API[1].
[1]: Though ignoring many of the optimizations..