Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
What are some 3rd-party libraries for Go that you use often/all the time? Instead of "just implement everything yourself", I would really like to get some tips. For instance, a few days ago I discovered https://github.com/samber/lo , which looks very good if I want to have list comprehensions (Python) / LINQ methods (C#). https://pkg.go.dev/github.com/atotto/clipboard is also good for clipboard operations. What else do you suggest and for what task?
github.com/spf13/cobra
github.com/spf13/viper
github.com/stretchr/testify
github.com/mattn/go-sqlite3
https://github.com/sqlc-dev/sqlc — for use with //go:generate
For worker pools of goroutines, this has always been "good enough" for me: https://github.com/gammazero/workerpool
Related posts
- Golang equivalent of Python’s click (CLT framework)
- Powerful template for CLI projects in Go 🐹
- Snob - Dev Log (How it's done)
- I made a twitter bot, who posts daily rankings of the best 10 players in the LEC (League of Legends)
- Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies