Seems like there's an import cycle
xansec opened this issue · 1 comments
xansec commented
This package seems to import itself?
$ go test stream_test.go
go: downloading github.com/stretchr/testify v1.3.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/davecgh/go-spew v1.1.1
# command-line-arguments
package command-line-arguments (test)
imports github.com/json-iterator/go
imports github.com/json-iterator/go: import cycle not allowed
FAIL command-line-arguments [setup failed]
FAIL
$ ./test.sh
package github.com/json-iterator/go
imports github.com/json-iterator/go: import cycle not allowed
xansec commented
As I suspected, this was due to not running in the correct GOPATH. Closing.