Functional Options for testing without mocks in Golang

Suppose you have a HTTP request to be sent but don’t care about the result or errors. This request is sent through a function which is usually called inside a goroutine and is not in any way a core aspect of your main logic. The only important part is forming the actual request and the …

Functional Options for testing without mocks in Golang Read More »