segmentio / golines

A golang formatter that fixes long lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not shortening long type definitions

csm10495 opened this issue · comments

Hey folks,

Say i have this line in my .go file:

type MyFunctionType func(a int, b int, c int, d int, e int, f int, g int, h int, i int, j int, k int, l int, m int, n int, o int, p int, q int, r int, s int) int

and then i run something like:

golines <file.go> -w --max-len=80

It doesn't seem like it shortens this line. Is there a way to enable shortening function type definitions? Thanks!