Skip to content

Commit

Permalink
update instructions to go get with modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrake committed Nov 5, 2019
1 parent 28e966c commit 6cd4143
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ See [GoDoc](https://godoc.org/github.com/cbrake/influxdbhelper) for more documen

## Install

(assuming you are using Go modules)

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

Note, this library currently does not work with the 1.7.x version of the InfluxDB client. It has
been tested with 1.6.5.
Note, the `/v2` is required if using Go modules because the version number is 2+.

## Example

Expand Down Expand Up @@ -160,16 +160,16 @@ use the Go reflect functionality.

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
* [ ] 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
* [ ] optimize query for performace (pre-allocate slices, etc)
* [ ] come up with a better name (indecode, etc)
* [ ] finish error checking
- [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
- [ ] 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
- [ ] optimize query for performace (pre-allocate slices, etc)
- [ ] come up with a better name (indecode, etc)
- [ ] finish error checking

Review/Pull requests welcome!

Expand Down

0 comments on commit 6cd4143

Please sign in to comment.