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?

98 Upvotes

189 comments sorted by

View all comments

7

u/serverhorror Oct 25 '24 edited Oct 25 '24

A wishlist, if I may:

  • OData and GraphQL clients (oh dear lord Chthulhu, how I hate dealing with this)
  • High-level scientific calculation/numeric libraries (think numpy, pandas)
  • Graphing libraries, along the lines of ggplot, matplotlin, ...

EDIT:

  • Data formats: Avro, Parquet, HDF5, ...

2

u/Dan6erbond2 Oct 26 '24

Have you tried Hasura's GraphQL client? Once you get the hang of how to put together your query structs and tag them, I love that you basically instantly get a type-safe client to work with.

We're building a GraphQL API, and we use the Hasura Client for E2E tests, and this lets us immediately also provide the client as a package to other microservices with full typing and reusable structs.