add goimports format action (#3630)

Signed-off-by: Jeff <jeffzhang@yunify.com>
This commit is contained in:
zryfish
2021-03-30 13:44:24 +08:00
committed by GitHub
parent 40e3751e43
commit ac275b6e98
561 changed files with 1713 additions and 863 deletions

View File

@@ -18,15 +18,17 @@ package generic
import (
"fmt"
"net/http"
"net/url"
"strings"
"github.com/emicklei/go-restful"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/util/proxy"
"k8s.io/klog"
"kubesphere.io/kubesphere/pkg/api"
"kubesphere.io/kubesphere/pkg/apiserver/runtime"
"net/http"
"net/url"
"strings"
)
// genericProxy is a simple proxy for external service.

View File

@@ -17,11 +17,12 @@ limitations under the License.
package generic
import (
"github.com/emicklei/go-restful"
"github.com/google/go-cmp/cmp"
"net/http/httptest"
"net/url"
"testing"
"github.com/emicklei/go-restful"
"github.com/google/go-cmp/cmp"
)
var group = "test.kubesphere.io"