Improve the string concatenate logic in ToLineProtocol function
Closed this issue ยท 0 comments
cloudxxx8 commented
๐ Feature Request
Relevant Package [REQUIRED]
This feature request is for allDescription [REQUIRED]
The current string concatenate logic could be improved by string builder
https://pkg.go.dev/strings#Builder
Using lots of +=
in string is not a good practice.
go-mod-core-contracts/dtos/metric.go
Lines 112 to 126 in f15f824