在使用go模块的GOPATH外部的项目中运行godog时,出现错误“无法编译testmain软件包”

Using godog I am able to run feature file successfully. Now when I create module using "go mod init mytest.com/automation"; and try to run feature file using godog getting below error:

failed to compile testmain package: exit status 2 - output: C:\Users\\AppData\Local\Temp\go-build685806736\b001_testmain.go:5:2: can't find import: "mytest.com/automation/C_/Users//sample_automation_golang/src/features"

I saw similar issue being reported in past but that is marked resolved now: https://github.com/DATA-DOG/godog/issues/136

Can someone help with this error?