nathanaelle / syslog5424

log.Logger-friendly RFC-5424 syslog library
BSD 2-Clause "Simplified" License
6 stars 1 forks source link

Run gofmt on entire codebase #5

Closed DavidGamba closed 6 years ago

nathanaelle commented 6 years ago

Maybe it's time for me to open an accessibility issue about gofmt.

nathanaelle commented 6 years ago

thanks 🙂

DavidGamba commented 6 years ago

Maybe it's time for me to open an accessibility issue about gofmt.

What do you mean?

nathanaelle commented 6 years ago

I live with a handicap after a brain injury. I need "typographic rivers" to help me to visualize the structure of the code.

gofmt is a good tool. but gofmt produce visually a very comptact code, and that compactness create a painful mess in my brain.

DavidGamba commented 6 years ago

I am sorry to hear that, I wouldn't have reformatted the code if I knew it would make it harder for you to work with it.

On a sidenote, I do prefer "typographic rivers", they are very nice, the reason I use gofmt is because it makes the code from different people consistent. You should definitely bring it up. I know other automated tools do a better job of formatting table like structures.