I also wrote a tool like that: https://github.com/fhs/golinecov
It displays coverage report from 'go test' without any color or fancy HTML.
I wrote it because I wanted something text oriented that I can view within
my editor.
Hope it's useful.
fhs
On Saturday, January 11, 2020 at 1:41:01 AM UTC-
You could inject your dependencies. There is a funny talk by Liron Levin
[1] which helped me a lot.
1: https://youtu.be/_B_vCEiO4mA
prakash sharma schrieb am Sa. 11. Jan. 2020
um 16:24:
> Need help:
>
> https://stackoverflow.com/questions/59693971/mocked-method-not-working-in-golang-while-runni
Need help:
https://stackoverflow.com/questions/59693971/mocked-method-not-working-in-golang-while-running-the-test-cases
I am trying to mock an struct method in test cases but it is not working. I
want to mock *Validate* method here:
package main
import (
"fmt"
)
type DemoInterface interf