this is the influxdb javascript example in golang