For reference, that link has changed to this <https://github.com/efigence/influxdb-backup/blob/1fd495dcd1c8528c9770be354221d97f48210416/src/input/influxdb.go#L81> now (https://github.com/efigence/influxdb-backup/blob/1fd495dcd1c8528c9770be354221d97f48210416/src/input/influxdb.go#L81), but the point remains: *how do you get a int64 out of the Go client*?! Is it possible to get the HTTP interface to just spit out CSV or something? Go and JSON do *not* like each other.
On Wednesday, January 20, 2016 at 2:30:14 PM UTC+1, [email protected] wrote: > > Hi > > I'm slowly writing InfluxDB DB importer/exporter/backup tool and when I > was writing input plugin I found out that client lib from main repo returns > numbers as json.Number instead of plain int/float, is there a reason for it > ? As it is now I have to use a bit of convoluted logic to "guess" ( > https://github.com/efigence/influxdb-backup/blob/master/src/input/influxdb.go#L81 > > ) what it is, and I'd imagine anyone trying to use lib for something else > would have to do the same > > Cheers, > Mariusz > > -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/170e3d51-abe5-4b66-98c5-2bf297e10bee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
