I have folder structure somewhat like this.
├── executor
| ├── executor_test.go
| |── executor.go
| |--excutor_mock.go
| |--errors.go
| |--app.go
├── _includes
| ├── xyz.go
| └── abc.go
├──vendor
executor_test.go contains all the unit test cases for executor.go.
So when I run go test --cover ./...
It shows me the coverage package wise which is good but I also want to exclude errors.go, excutor_mock.go and app.go in executor folder from showing up in go test --cover ./...
.So is there a way to exclude them?