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.
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/
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.