When I recently dropped all doc.go files and with this removal Makefiles using go list . to determine the module base path are emitting warnings like this one:
no Go files in /mnt/t/github/check-statuspage
The fix is to replace go list . with go list -m.
This will need to be done for Makefiles in all Go-based projects.
When I recently dropped all
doc.go
files and with this removal Makefiles usinggo list .
to determine the module base path are emitting warnings like this one:no Go files in /mnt/t/github/check-statuspage
The fix is to replace
go list .
withgo list -m
.This will need to be done for Makefiles in all Go-based projects.