Formatting body of case in switch statement does not work
Opened this issue · 0 comments
rcurran1221 commented
Long lines within the body of a case statement are not wrapped like they would be if the same statement was not contained within the body of a case statement.
switch int {
case 1:
logger.Log.LogMessage("this is a long string log message, and there are a few more params to this function, and as a line I am far longer than 100 columns", "Information", "1234-5678-9111-1234")
}
run golines on a file with the logger.Log.Logmessage() function in the case body, and then outside, and you will see within the case body, the line is not chopped/wrapped.