Skip to content

docker run failed #897

@DarthPestilane

Description

@DarthPestilane

run this

docker run --rm -v $(pwd):/app -w /app  golangci/golangci-lint:v1.21.0 golangci-lint run

as readme.md said.

and error happend:

level=error msg="Running error: context loading failed: failed to load program with go/packages: could not determine GOARCH and Go compiler"

tested on macOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions