You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.
Maybe it is a bug on my side, as I didn't use go get in some time, but I find it weird:
~/Projekty/io-fault$ which go
/home/baryluk/go1.13.6/bin/go
~/Projekty/io-fault$ go version
go version go1.13.6 linux/amd64
~/Projekty/io-fault$ env | grep GO
GOROOT=/home/baryluk/go1.13.6
GOPATH=/home/baryluk/gocode
$ echo $PATH | sed -e "s/:/\n/g" | grep go
/home/baryluk/gocode/bin
/home/baryluk/go1.13.6/bin
/home/baryluk/go/bin
~/Projekty/io-fault$ ls
~/Projekty/io-fault$
Looks good so far, lets try getting the hookfs as instructed in the README:
~/Projekty/io-fault$ go get -v -v github.com/osrg/hookfs/hookfs
github.com/osrg/hookfs (download)
package github.com/osrg/hookfs/hookfs: cannot find package "github.com/osrg/hookfs/hookfs" in any of:
/home/baryluk/go1.13.6/src/github.com/osrg/hookfs/hookfs (from $GOROOT)
/home/baryluk/gocode/src/github.com/osrg/hookfs/hookfs (from $GOPATH)
~/Projekty/io-fault$
But the thing is downloaded:
~/Projekty/io-fault$ ls -lh /home/baryluk/gocode/src/github.com/osrg/hookfs/
total 13K
drwxr-xr-x 3 baryluk baryluk 3 Jan 17 15:47 cmd
-rw-r--r-- 1 baryluk baryluk 121 Jan 17 15:47 go.mod
-rw-r--r-- 1 baryluk baryluk 1.6K Jan 17 15:47 go.sum
-rw-r--r-- 1 baryluk baryluk 12K Jan 17 15:47 LICENSE
drwxr-xr-x 5 baryluk baryluk 5 Jan 17 15:47 pkg
-rw-r--r-- 1 baryluk baryluk 1.8K Jan 17 15:47 README.md
~/Projekty/io-fault$
If I remove the trailing /hookfs it says:
~/Projekty/io-fault$ go get -v -v github.com/osrg/hookfs
can't load package: package github.com/osrg/hookfs: no Go files in /home/baryluk/gocode/src/github.com/osrg/hookfs
huh?
The text was updated successfully, but these errors were encountered:
I did manually do git clone into some other directory, and managed to do go buid of the example, the go build pulled dependencies without issues. So the code itself works.
Only the go get is weird.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Maybe it is a bug on my side, as I didn't use
go get
in some time, but I find it weird:Looks good so far, lets try getting the hookfs as instructed in the README:
But the thing is downloaded:
If I remove the trailing
/hookfs
it says:huh?
The text was updated successfully, but these errors were encountered: