Skip to content

Docker image: failed load std packages #75

@thanhnamnguyen

Description

@thanhnamnguyen

Hi, when run linter on docker image https://hub.docker.com/r/fe3dback/go-arch-lint/, I get the error "failed to load std packages". When I check on that, it came from this line:
https://github.com/fe3dback/go-arch-lint/blob/master/internal/services/project/scanner/scanner.go#L42

When print out err, it seem like it show "can not found iters in goroot/src". it is because golang version in the image is 1.20 and the iter package officially became part of the language in the 1.23 release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededlinter-CLIAffect linter CLI program (yaml conf, terminal output)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions