openGemini / opengemini-client-go

CNCF openGemini Go Client Library
https://opengemini.org/
Apache License 2.0
24 stars 17 forks source link

需要适配ipv6网络环境 #83

Closed wolfbolin closed 4 months ago

wolfbolin commented 4 months ago

https://github.com/openGemini/opengemini-client-go/blob/49423902a3ca16ac35fa57265f70914d470a964d/opengemini/client_impl.go#L86 应修改为

urls[i] = endpoint{url: protocol + net.JoinHostPort(addr.Host, strconv.Itoa(addr.Port))}
Chenxulin97 commented 4 months ago

accept

shoothzj commented 4 months ago

Nice Catch! Is this any possibility we can find this by golangci-lint or other lint tools?