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

go.mod dbg #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [GoDoc](https://godoc.org/github.com/cbrake/influxdbhelper) for more documen
## Install

```
go get github.com/influxdata/influxdb/client/v2
go get github.com/influxdata/influxdb1-client
go get github.com/cbrake/influxdbhelper
```

Expand All @@ -27,7 +27,7 @@ import (
"time"

"github.com/cbrake/influxdbhelper"
client "github.com/influxdata/influxdb/client/v2"
client "github.com/influxdata/influxdb1-client/v2"
)

const (
Expand Down Expand Up @@ -163,7 +163,7 @@ Todo:
* [x] handle larger query datasets (multiple series, etc)
* [x] add write capability (directly write Go structs into influxdb)
* [x] add godoc documentation
* [ ] get working with influxdb 1.7 client
* [x] get working with influxdb 1.7 client
* [ ] see if still applicable for influxdb 2.x
* [ ] decode/encode val0, val1, val2 fields in influx to Go array
* [ ] use Go struct field tags to help build SELECT statement
Expand Down
2 changes: 1 addition & 1 deletion examples/writeread.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/cbrake/influxdbhelper"
client "github.com/influxdata/influxdb/client/v2"
client "github.com/influxdata/influxdb1-client/v2"
)

const (
Expand Down
8 changes: 8 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module github.com/slavaromanov/influxdbhelper

go 1.13

require (
github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e
github.com/mitchellh/mapstructure v1.1.2
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e h1:txQltCyjXAqVVSZDArPEhUTg35hKwVIuXwtQo7eAMNQ=
github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=