segmentio / golines

A golang formatter that fixes long lines
MIT License
903 stars 56 forks source link

Format structs that have line breaks #132

Open bgimby opened 3 months ago

bgimby commented 3 months ago

Fixes #131.

I'm not sure if there could be unintended consequences to checking HasAnnotationRecursive when looking at a composite literal. Let me know if I should try a different approach.