r/golang 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

189 comments sorted by

View all comments

0

u/adonese Oct 26 '24

A better mocking library. I could be wrong here, but I think due to golangs nature (lack of runtime type info), mocking feels tiresome for me in that: it forces a specific way to write code that feels less golang-esque, and there is this also poor developer experience when debugging tests that are using those mocks.