Enable goimports check, and fixes several imports format (#1525)

This fix enables goimports check and fixes several imports format
so that the import sections are prettier, e.g.:
```
 import (
-       "github.com/miekg/dns"
        "regexp"
        "strconv"
        "strings"
+
+       "github.com/miekg/dns"
 )
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2018-02-14 07:00:04 -08:00 committed by John Belamaric
parent caf2553d7a
commit 4e63d0be35
4 changed files with 8 additions and 5 deletions

View file

@ -1,8 +1,9 @@
package dnstap
import (
"github.com/mholt/caddy"
"testing"
"github.com/mholt/caddy"
)
func TestConfig(t *testing.T) {