The command go get github.com/mattn/go-sixel/cmd/gosr on my go version 1.19.5 complains that go get is no longer supported outside a module.
So I try: go install github.com/mattn/go-sixel/cmd/gosr@latest but that says:
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.
What would be the best way to install gosr for me?
The command
go get github.com/mattn/go-sixel/cmd/gosron my go version 1.19.5 complains thatgo getis no longer supported outside a module.So I try:
go install github.com/mattn/go-sixel/cmd/gosr@latestbut that says: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.What would be the best way to install gosr for me?