Open FallenWarrior2k opened 4 years ago
@caiogondim Can you approve this PR?
In some go projects, there is no *.go
files on the root of project but go.mod
file. Because the main.go
files are collected in /cmd/**/main.go
and the libraries are in /pkg/**/*.go
So currently, the prompt_go
is not working on some go projects.
Thanks!
By checking for the files used by the
go mod
anddep
tools, this should noticeably improve the detection of Go projects.