-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
I enabled this linter in a Go 1.19 Docker image (golang:1.19.7
) without issue, but for a Go 1.20 image (golang:1.20.2
) I get this error:
structslop: internal error: package "errors" without types was imported from "github.com/..."
To reproduce:
docker image pull golang:1.20.2
docker container run -it --rm golang:1.20.2
git clone https://github.com/atc0005/check-whois
cd check-whois
go install github.com/orijtech/structslop/cmd/[email protected]
- same result as
go install github.com/orijtech/structslop/cmd/structslop@latest
, but noting specific version for clarity
- same result as
structslop ./...
Output:
root@6c4091e45d1e:/go/check-whois# structslop ./...
structslop: internal error: package "errors" without types was imported from "github.com/atc0005/check-whois/internal/domain"
This produces no errors and no output:
docker image pull golang:1.19.7
docker container run -it --rm golang:1.19.7
git clone https://github.com/atc0005/check-whois
cd check-whois
go install github.com/orijtech/structslop/cmd/[email protected]
structslop ./...
Metadata
Metadata
Assignees
Labels
No labels