mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
reorder imports
Reorder imports with `goimports`.
This commit is contained in:
parent
33fb52241a
commit
0cffc7994d
5 changed files with 11 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
3
pkg/cache/schemacache.go
vendored
3
pkg/cache/schemacache.go
vendored
|
|
@ -2,8 +2,9 @@ package cache
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/xeipuuv/gojsonschema"
|
||||
"sync"
|
||||
|
||||
"github.com/xeipuuv/gojsonschema"
|
||||
)
|
||||
|
||||
type SchemaCache struct {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package validator
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/xeipuuv/gojsonschema"
|
||||
"sigs.k8s.io/yaml"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@ package validator
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/xeipuuv/gojsonschema"
|
||||
"testing"
|
||||
|
||||
"github.com/xeipuuv/gojsonschema"
|
||||
)
|
||||
|
||||
func TestValidate(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue