HTTP mocking for Golang
Alternatively, you could use an http mock library like https://github.com/jarcoal/httpmock, and override the urls the RealClient calls with a mock response in your tests.
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.
Having trouble with botocore stubber on put actions
1 project | reddit.com/r/aws | 15 Jan 2022
Microsoft Exchange stops passing mail due to bug on 1/1/22
4 projects | news.ycombinator.com | 1 Jan 2022
[HELP] how to test this piece of code?
1 project | reddit.com/r/golang | 29 Dec 2021
What is the real USP of Go's interfaces when compared to those in Java or C#?
1 project | reddit.com/r/golang | 9 Dec 2021
[HELP] Testing SQL queries and functions that use SQL queries in Golang.
3 projects | reddit.com/r/golang | 1 Dec 2021