mirror of https://github.com/docker/cli.git
Add goimports to linting
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
690ef8af79
commit
1378bf3dbe
|
@ -7,6 +7,7 @@ import (
|
|||
"time"
|
||||
|
||||
"bytes"
|
||||
|
||||
"github.com/docker/docker/api/types/image"
|
||||
"github.com/docker/docker/pkg/stringid"
|
||||
"github.com/docker/docker/pkg/stringutils"
|
||||
|
|
|
@ -11,6 +11,7 @@ import (
|
|||
"golang.org/x/net/context"
|
||||
|
||||
"encoding/json"
|
||||
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/api/types/filters"
|
||||
"github.com/docker/docker/api/types/registry"
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
"github.com/docker/docker/api/types/filters"
|
||||
"net/url"
|
||||
"regexp"
|
||||
|
||||
"github.com/docker/docker/api/types/filters"
|
||||
)
|
||||
|
||||
var headerRegexp = regexp.MustCompile(`\ADocker/.+\s\((.+)\)\z`)
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
"Exclude": ["cli/compose/schema/bindata.go"],
|
||||
|
||||
"DisableAll": true,
|
||||
"Enable": ["gofmt", "vet", "golint"]
|
||||
"Enable": ["gofmt", "vet", "golint", "goimports"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue