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,8 +18,9 @@ package errors
import (
"fmt"
"github.com/emicklei/go-restful"
"net/http"
"github.com/emicklei/go-restful"
)
type Error struct {

View File

@@ -18,9 +18,11 @@ package options
import (
"fmt"
"github.com/spf13/pflag"
"kubesphere.io/kubesphere/pkg/utils/net"
"os"
"github.com/spf13/pflag"
"kubesphere.io/kubesphere/pkg/utils/net"
)
type ServerRunOptions struct {

View File

@@ -18,10 +18,11 @@ package params
import (
"fmt"
"github.com/emicklei/go-restful"
"regexp"
"strconv"
"strings"
"github.com/emicklei/go-restful"
)
const (

View File

@@ -17,12 +17,13 @@ limitations under the License.
package params
import (
"gotest.tools/assert"
"net/http"
"net/url"
"reflect"
"testing"
"gotest.tools/assert"
"github.com/emicklei/go-restful"
)