-
https://github.com/maxbrunsfeld/counterfeiter - generate static typed test double (can be used to mock or stub calls)
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
https://github.com/joho/godotenv - load env file (or sometimes https://github.com/spf13/viper or load https://github.com/yosuke-furukawa/json5 directly)
-
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
https://github.com/ory/dockertest - test repo/provider layer against dockered database directly, alternatively i use https://github.com/kokizzu/goproc for database that are only single binary (eg. cockroachdb)
-
https://github.com/ory/dockertest - test repo/provider layer against dockered database directly, alternatively i use https://github.com/kokizzu/goproc for database that are only single binary (eg. cockroachdb)
-
https://github.com/hexops/autogold - generate and update test result (go test -update .)
-
https://github.com/fatih/gomodifytags - generate or modify struct tags
-
https://github.com/joho/godotenv - load env file (or sometimes https://github.com/spf13/viper or load https://github.com/yosuke-furukawa/json5 directly)
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
https://github.com/joho/godotenv - load env file (or sometimes https://github.com/spf13/viper or load https://github.com/yosuke-furukawa/json5 directly)
-
-
-
-
https://github.com/derision-test/go-mockgen for generating mocks for interfaces, for those that use dependency injection. By far the best mock generator, especially compared to the relatively bad official one, or anything that requires passing method names as strings...
-
go-testdeep
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
TestDeep. I got pretty used to many of the matchers and they simplify my life now.
-
https://github.com/alecthomas/assert As an assertion library
-
-
-
-
-
In addition to the ones you mentioned, I also always use: + sqlc - Compile SQL to type-safe code + gqlgen - generate GraphQL server from schema + oapi-codegen - Go client and server boilerplate from OpenAPI 3 specifications + pester - Go http calls with retries and backoff + backoff - exponential backoff algorithm in Go
-
In addition to the ones you mentioned, I also always use: + sqlc - Compile SQL to type-safe code + gqlgen - generate GraphQL server from schema + oapi-codegen - Go client and server boilerplate from OpenAPI 3 specifications + pester - Go http calls with retries and backoff + backoff - exponential backoff algorithm in Go
-
In addition to the ones you mentioned, I also always use: + sqlc - Compile SQL to type-safe code + gqlgen - generate GraphQL server from schema + oapi-codegen - Go client and server boilerplate from OpenAPI 3 specifications + pester - Go http calls with retries and backoff + backoff - exponential backoff algorithm in Go
-
In addition to the ones you mentioned, I also always use: + sqlc - Compile SQL to type-safe code + gqlgen - generate GraphQL server from schema + oapi-codegen - Go client and server boilerplate from OpenAPI 3 specifications + pester - Go http calls with retries and backoff + backoff - exponential backoff algorithm in Go
-
Oh, also https://github.com/carlmjohnson/versioninfo . Always need that.
-
Requests uses the standard HTTP client so you can plug-in retries off the shelf. Resty artificially locks you into its own ecosystem.
-
There are other things I generally drag around out of habit like migrate, but I don't necessarily love those as much.
-
https://github.com/nikoksr/notify for sending notifications to a multitude of services at once.
-
-
go-wiki
This is a Golang open-source module that makes it easy to access and parse data from Wikipedia (Wikipedia API wrapper)
I need to build a low latency Wikipedia data crawler for my AI module. So I use this one: https://github.com/trietmn/go-wiki
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives