influxdata / influxdata/influxdb1-client

go run: cannot run *_test.go files (example_test.go)

Open
#21 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
192
Forks
109
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names influxdb.go and example_test.go and shows Go 1.12.9 on Fedora 30; start by reproducing the two go run commands in that environment. It does not specify a desired change or acceptance condition, so confirm whether the expected outcome is a code fix, documentation, or usage guidance before estimating completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.