InfluxDB 2.0 Beta - Set precision in Go Client

Hi,
According to the docs: the API supports setting precision. But, I couldn’t find any function exposed for doing the same using the official Go Client link.

Does this precision need to be set at a bucket level? Any more tips would be appreciated.

Thanks.

Hello @live-wire,
Welcome!
I’m so sorry for the delay. Sometimes questions get lost :frowning:
Here is the link for the client: GitHub - influxdata/influxdb-client-go: InfluxDB 2 Go Client
Here is the option to set the precision
influxdb-client-go/options.go at 94dd2a00d884087ebdd5ec65692aeeaea1acca25 · influxdata/influxdb-client-go · GitHub