Solving failure: "github.com/coreos/go-systemd/util" imports "github.com/coreos/go-systemd/v22/internal/dlopen", which contains malformed code: no package exists at "github.com/coreos/go-systemd/v22/internal/dlopen"
ThinkingXuan opened this issue · 2 comments
ThinkingXuan commented
Solving failure: "github.com/coreos/go-systemd/util" imports "github.com/coreos/go-systemd/v22/internal/dlopen", which contains malformed code: no package exists at "github.com/coreos/go-systemd/v22/internal/dlopen"
lucab commented
This is likely due to your source project using Go modules and a wrong import path.
The correct import path for the util
module would be github.com/coreos/go-systemd/v22/util
.