Our great sponsors
-
I use autogold for my tests now, and I use the -update feature already twice. That's really handy.
-
if you have the JSON, you might try this to give you an idea: https://mholt.github.io/json-to-go/
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
-
I use https://github.com/stretchr/testify in tests, it prints structs and diffs very well
-
I like litter, and I have a simple helper that is effectively:
-
-
Tangentially related, but there is a package out there called go-fakeit github.com/brianvoe/gofakeit.git for generating random data, which doesn't sound like it entirely maps with what you're doing, but there may be some overlap.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.