Open soerenbrockmann opened 3 years ago
Hi,
when importing the package for v4 like
import "github.com/stianeikeland/go-rpio/v4"
I get this error:
main.go:32:2: cannot find package "github.com/stianeikeland/go-rpio/v4" in any of: /usr/local/go/src/github.com/stianeikeland/go-rpio/v4 (from $GOROOT)
go get github.com/stianeikeland/go-rpio/v4
cannot find package "github.com/stianeikeland/go-rpio/v4" in any of: /usr/local/go/src/github.com/stianeikeland/go-rpio/v4 (from $GOROOT)
returns the same error. What am I missing here?
You need to use Go Modules.
Hi,
when importing the package for v4 like
import "github.com/stianeikeland/go-rpio/v4"
I get this error:
main.go:32:2: cannot find package "github.com/stianeikeland/go-rpio/v4" in any of: /usr/local/go/src/github.com/stianeikeland/go-rpio/v4 (from $GOROOT)
go get github.com/stianeikeland/go-rpio/v4
cannot find package "github.com/stianeikeland/go-rpio/v4" in any of: /usr/local/go/src/github.com/stianeikeland/go-rpio/v4 (from $GOROOT)
returns the same error. What am I missing here?