We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a 10-min newbee with go on Fedora30.
Connected to http://localhost:8086 version 1.7.8 InfluxDB shell version: 1.7.8
go version go1.12.9 linux/amd64
influxdb.go:22:2: cannot find package "github.com/influxdata/influxdb1-client/models" in any of: /usr/lib/golang/src/github.com/influxdata/influxdb1-client/models (from $GOROOT) /root/go/src/github.com/influxdata/influxdb1-client/models (from $GOPATH)
go run: cannot run *_test.go files (example_test.go)
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/35099417/go-not-running-program-with-name-package-test-go You may need to build them
Sorry, something went wrong.
Sorry, that was wrong. You need to use go test
go test
Can this be closed?
No branches or pull requests
a 10-min newbee with go on Fedora30.
docker exec -it 2256747aa0e2 influx
Connected to http://localhost:8086 version 1.7.8
InfluxDB shell version: 1.7.8
go version
go version go1.12.9 linux/amd64
go run influxdb.go
influxdb.go:22:2: cannot find package "github.com/influxdata/influxdb1-client/models" in any of:
/usr/lib/golang/src/github.com/influxdata/influxdb1-client/models (from $GOROOT)
/root/go/src/github.com/influxdata/influxdb1-client/models (from $GOPATH)
go run example_test.go
go run: cannot run *_test.go files (example_test.go)
The text was updated successfully, but these errors were encountered: