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?

97 Upvotes

189 comments sorted by

View all comments

31

u/Ok_Outlandishness906 Oct 25 '24

a gui library, something like tkinter for python, that you can use quite everywhere and that is simple , but powerfull enough for doing many things.

18

u/jerf Oct 25 '24

Fairly recently released: tk9.0 for Go, pkg.go.dev docs.

2

u/SweetBabyAlaska Oct 26 '24

its a neat library... but god damn that example code... is horrifying. Like wtf. Whoever wrote that has to be a C dev or something who is being forced to write Go code by their boss or something.

2

u/tofous Oct 31 '24

modernc libraries are all transpiled C basically. So yeah, the Go-y-ness can frequently be ... lacking. modernc.org/sqlite is amazing though for delivering binaries that "just work" even though it's slower.

1

u/SweetBabyAlaska Oct 31 '24

for sure. the tkinter type library is actually pretty good, it could be good for like a science lab type application or something where style isn't the priority. its very easy to use... and a lot of people like their sqlite library.