squid-exporter icon indicating copy to clipboard operation
squid-exporter copied to clipboard

Replace readLines() function with bufio.Scanner

Open dswarbrick opened this issue 1 year ago • 0 comments

The custom readLines() function was doing nothing that could not more simply be achieved with a bufio.Scanner. There was also no obvious need to run the readLines() function in a goroutine.

dswarbrick avatar Sep 17 '24 16:09 dswarbrick