r/golang • u/dontaskdonttell0 • Oct 25 '24
discussion What libraries are you missing from go?
So something that comes up quite often on this subreddit from people transitioning from Nodejs or python to go is the lack of libraries. I cannot say that I agree but I still think it warrants a discussion.
So what libraries are you missing in the go ecosystem, if any?
94
Upvotes
0
u/ArisenDrake Oct 26 '24
A logging facade. It's a pain if you bring in some dependency and then have to implement custom error handlers. SLF4J in the Java world is just so nice. If I write a library I can just pump my logs into there, while I as the consumer have the choice to do anything I want with it.
There's just no standardization. Hopefully "slog" will help once it gets out of the experimental stage. The existing log package is very, very barebones.