I get this error when building:
build github.com/ThomasHabets/cmdg/cmd/cmdg: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
I'm trying to build it in a docker container, a clean ubuntu system, only installed go and git.
Clone the repo to /tmp/cmdg, cd into it, and run go build ./cmd/cmdg, and that error shows.
I get this error when building:
build github.com/ThomasHabets/cmdg/cmd/cmdg: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
I'm trying to build it in a docker container, a clean ubuntu system, only installed go and git. Clone the repo to/tmp/cmdg
, cd into it, and rungo build ./cmd/cmdg
, and that error shows.I'm using golang from ubuntu, version 1.13.8
Can you help plz? I'm not a golang programmer.