Our great sponsors
- SonarQube - Static code analysis for 29 languages.
- InfluxDB - Access the most powerful time series database as a service
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
Please refer to the full example code for more details.
Sql mock driver for golang to test database interactions
We have different ways to write our tests depending on what datastore we are using, for example if we are testing database calls that happen to be using database/sql then importing a package like github.com/DATA-DOG/go-sqlmock could work.
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Go Memcached client library #golang
In cases where there's no de-facto package used for mocking calls, we could define our own interface type that happens to be defining the concrete calls we use in your code, for example if we are planning to mock memcached calls and github.com/bradfitz/gomemcache it's being used, then something like the following could work:
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
There's no excuse not to use github.com/ory/dockertest when working with datastores in Go. ory/dockertest simplifies integration tests and reduces the dependencies needed when running our tests because only Docker is required in those cases.
Go linter and helper for the OpenTelemetry SDK
3 projects | reddit.com/r/golang | 17 May 2023
Redis with golang
3 projects | reddit.com/r/redis | 26 Mar 2023
Storage Layer 📦
1 project | dev.to | 20 Oct 2022
Using Redis on Cloud? Here are ten things you should know
1 project | dev.to | 10 Oct 2022
Elasticache Redis cluster mode disable and go-redis
1 project | reddit.com/r/golang | 9 Aug 2022