goimports won't remove empty lines. is that a feature?

goimports on this:

import (
"bufio"
"fmt"
"math"

"strconv"
"time"

"math/rand"
"os"
)

will not become

import (
"bufio"
"fmt"
"math"
"math/rand"
"os"
"strconv"
"time"
)


On Friday, July 15, 2016 at 1:34:36 PM UTC+8, bradfitz wrote:
>
> goimports has been updated.
>
> If you've been frustrated by its speed lately, run:
>
>    $ go get -u golang.org/x/tools/cmd/goimports
>
> ... and things should be much nicer.
>
> Details at https://golang.org/cl/24941
>
> If I broke something, file a bug: https://golang.org/issues/new
>
> The general speed tracking bug is https://golang.org/issue/16367 (don't 
> use for new bugs, only for speed)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to