InfluxCommunity / influxdb3-go

The go package that provides a simple and convenient way to interact with InfluxDB 3.
https://pkg.go.dev/github.com/InfluxCommunity/influxdb3-go
MIT License
21 stars 11 forks source link

feat: create Client from connection string or environment variables #36

Closed alespour closed 10 months ago

alespour commented 11 months ago

Closes #

Proposed Changes

This PR adds support to create Client from

Checklist

codecov[bot] commented 11 months ago

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (2c5132a) 82.43% compared to head (a01b17b) 83.84%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #36 +/- ## ========================================== + Coverage 82.43% 83.84% +1.41% ========================================== Files 9 10 +1 Lines 575 681 +106 ========================================== + Hits 474 571 +97 - Misses 87 95 +8 - Partials 14 15 +1 ``` | [Files](https://app.codecov.io/gh/InfluxCommunity/influxdb3-go/pull/36?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity) | Coverage Δ | | |---|---|---| | [influxdb3/client.go](https://app.codecov.io/gh/InfluxCommunity/influxdb3-go/pull/36?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity#diff-aW5mbHV4ZGIzL2NsaWVudC5nbw==) | `92.68% <100.00%> (+1.09%)` | :arrow_up: | | [influxdb3/config.go](https://app.codecov.io/gh/InfluxCommunity/influxdb3-go/pull/36?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=InfluxCommunity#diff-aW5mbHV4ZGIzL2NvbmZpZy5nbw==) | `90.00% <90.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.