4 ms·
Code coverage in Go is on a package level. A test that exercises a handler, controller, and repository can accrue coverage for at most one of them.
by closeparen 4y ago
Code coverage in Go is on a package level. A test that exercises a handler, controller, and repository can accrue coverage for at most one of them.
- therealdrag0 4y agoHuh. I guess I’ll add that to the list of reasons I don’t like Go.