cloudflared
cloudflared copied to clipboard
refactor: omit unnecessary reassignment
The new version of Go has been optimized, and variables do not need to be reassigned.
For more info: https://tip.golang.org/wiki/LoopvarExperiment#does-this-mean-i-dont-have-to-write-x--x-in-my-loops-anymore
@jcsf @chungthuang Hi, Could you please review this PR at your convenience? Thank you very much.