Chris James
Chris James
It's just a function of it all growing organically, that particular chapter was also not written by me! I confess I haven't looked at that chapter in a long time,...
Hey, glad you liked it. I'm not sure exactly what you're looking for here.
This sounds like a good idea. I find before writing chapters, I like to list out the high-level things a reader would learn, could you do the same @leighstillard ?
Sounds great!
Agreed, have no idea how 😂
https://github.com/quii/learn-go-with-tests/tree/monospace-pdf I don't have access to a non-m1 computer right now, although I will later this week If anyone in this thread does have a non-ARM computer that can run...
_Generally_ I want the test to stop if I encounter an error I didn't expect, which is why `Fatal` is more appropriate than `Error`.
It's certainly a good fit for a chapter and i'll add it to the list FWIW I would not mock the DB layer in these scenarios, i'd write an integration...
A few things 1. Awesome you're trying this out. I wish I had the time to do this. 2. I'd expect things like tables, indexes etc to be done programatically...
Could use this https://pkg.go.dev/github.com/google/go-cmp/cmp#example-Option-ApproximateFloats