-
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.2docker container run -it --rm golang:1.20.2git clone https://github.com/atc0005/check-whoiscd check-whoisgo install github.com/orijtech/structslop/cmd/structslop@v0.0.7- 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.7docker container run -it --rm golang:1.19.7git clone https://github.com/atc0005/check-whoiscd check-whoisgo install github.com/orijtech/structslop/cmd/structslop@v0.0.7structslop ./...
Metadata
Metadata
Assignees
Labels
No labels