build github.com/square/certstrap: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
AkashGuptaHC opened this issue · comments
Akash Gupta commented
This is the issue I'm facing while doing the go build
after git clone
and cd certstrap
Akash Gupta commented
I got this working. Thanks!
Dodain commented
@AkashGuptaHC I am facing the same issue. How did you fix it ?
build github.com/square/certstrap: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
Dodain commented
Posting it if someone faces the issue in future.
io/fs came into go around 1.16 so if your go version is less than 1.16, that's likely the problem. You can check the version of go using "go version"