in go.mod after v3 the replace directive causes the install to error out
go install github.com/scylladb/gocqlx/v3/cmd/schemagen@v3.0.0
go: downloading github.com/scylladb/gocqlx/v3 v3.0.0
go: github.com/scylladb/gocqlx/v3/cmd/schemagen@v3.0.0 (in github.com/scylladb/gocqlx/v3@v3.0.0):
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.
in go.mod after v3 the replace directive causes the install to error out