Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of internal package not allowed #296

Open
RIZY101 opened this issue Feb 12, 2021 · 1 comment
Open

Use of internal package not allowed #296

RIZY101 opened this issue Feb 12, 2021 · 1 comment

Comments

@RIZY101
Copy link

RIZY101 commented Feb 12, 2021

When trying to run your example given in the README of this repo I came across this error.

package command-line-arguments
	imports github.com/perlin-network/noise
	imports github.com/oasislabs/ed25519
	../../go/src/github.com/oasislabs/ed25519/batch_verify.go:37:2: use of internal package github.com/oasisprotocol/ed25519/internal/curve25519 not allowed
package command-line-arguments
	imports github.com/perlin-network/noise
	imports github.com/oasislabs/ed25519
	../../go/src/github.com/oasislabs/ed25519/batch_verify.go:38:2: use of internal package github.com/oasisprotocol/ed25519/internal/ge25519 not allowed
package command-line-arguments
	imports github.com/perlin-network/noise
	imports github.com/oasislabs/ed25519
	../../go/src/github.com/oasislabs/ed25519/batch_verify.go:39:2: use of internal package github.com/oasisprotocol/ed25519/internal/modm not allowed

I am using

go version go1.15.8 linux/amd64

and I installed noise via

% go get -u github.com/perlin-network/noise

Any help would be greatly appreciated! Also let me know if I can provide anymore useful information.

@RIZY101
Copy link
Author

RIZY101 commented Feb 12, 2021

Also here are my go env results

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/rizins/.cache/go-build"
GOENV="/home/rizins/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/rizins/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/rizins/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build379112474=/tmp/go-build -gno-record-gcc-switches"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant