reorder imports

Reorder imports with `goimports`.
This commit is contained in:
Christoph Mertz 2020-10-18 11:29:11 +02:00
parent 33fb52241a
commit 0cffc7994d
5 changed files with 11 additions and 6 deletions

View file

@ -4,16 +4,17 @@ import (
"bytes"
"flag"
"fmt"
"github.com/xeipuuv/gojsonschema"
"github.com/yannh/kubeconform/pkg/fsutils"
"github.com/yannh/kubeconform/pkg/output"
"io"
"io/ioutil"
"os"
"strings"
"sync"
"github.com/xeipuuv/gojsonschema"
"github.com/yannh/kubeconform/pkg/cache"
"github.com/yannh/kubeconform/pkg/fsutils"
"github.com/yannh/kubeconform/pkg/output"
"github.com/yannh/kubeconform/pkg/registry"
"github.com/yannh/kubeconform/pkg/resource"
"github.com/yannh/kubeconform/pkg/validator"

View file

@ -2,8 +2,9 @@ package cache
import (
"fmt"
"github.com/xeipuuv/gojsonschema"
"sync"
"github.com/xeipuuv/gojsonschema"
)
type SchemaCache struct {

View file

@ -1,8 +1,9 @@
package resource_test
import (
"github.com/yannh/kubeconform/pkg/resource"
"testing"
"github.com/yannh/kubeconform/pkg/resource"
)
func TestSignatureFromBytes(t *testing.T) {

View file

@ -2,6 +2,7 @@ package validator
import (
"fmt"
"github.com/xeipuuv/gojsonschema"
"sigs.k8s.io/yaml"
)

View file

@ -2,8 +2,9 @@ package validator
import (
"fmt"
"github.com/xeipuuv/gojsonschema"
"testing"
"github.com/xeipuuv/gojsonschema"
)
func TestValidate(t *testing.T) {