Execute go imports to format files

Signed-off-by: Zhengyi Lai <zheng1@kubesphere.io>
This commit is contained in:
Zhengyi Lai
2021-06-27 20:37:51 +08:00
parent d8cef2bcda
commit e26f70d0ca
95 changed files with 98 additions and 98 deletions

View File

@@ -21,7 +21,7 @@ import (
"testing"
"golang.org/x/oauth2"
"gopkg.in/yaml.v3"
yaml "gopkg.in/yaml.v3"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/identityprovider"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/oauth"

View File

@@ -30,7 +30,7 @@ import (
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"golang.org/x/oauth2"
"gopkg.in/yaml.v3"
yaml "gopkg.in/yaml.v3"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/identityprovider"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/oauth"

View File

@@ -22,7 +22,7 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"gopkg.in/yaml.v3"
yaml "gopkg.in/yaml.v3"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/oauth"
)

View File

@@ -27,8 +27,8 @@ import (
"kubesphere.io/kubesphere/pkg/utils/sliceutil"
"github.com/coreos/go-oidc"
"github.com/form3tech-oss/jwt-go"
oidc "github.com/coreos/go-oidc"
jwt "github.com/dgrijalva/jwt-go"
"github.com/mitchellh/mapstructure"
"golang.org/x/oauth2"

View File

@@ -32,11 +32,11 @@ import (
"testing"
"time"
"github.com/form3tech-oss/jwt-go"
jwt "github.com/dgrijalva/jwt-go"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"gopkg.in/square/go-jose.v2"
jose "gopkg.in/square/go-jose.v2"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/identityprovider"
"kubesphere.io/kubesphere/pkg/apiserver/authentication/oauth"