I want to use Golang API to write data to Influxdb, but if a database does not exist, it cannot be written.
So, how should I use the InfluxDB1.8 Golang API to determine whether the database exists?
If it does not exist, how can I use the API to create a database?