go-ftw
go-ftw copied to clipboard
Go install fails (directives to be interpreted differently than if it were the main module)
% go version
go version go1.22.0 darwin/amd64
% go install github.com/coreruleset/go-ftw@latest
go: github.com/coreruleset/go-ftw@latest (in github.com/coreruleset/[email protected]):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Maybe see also https://github.com/linuxkit/linuxkit/issues/3873 for a similar issue.
Your README says this should work.