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,6 +18,7 @@ package cache
import (
"fmt"
"github.com/spf13/pflag"
)

View File

@@ -18,9 +18,10 @@ package cache
import (
"fmt"
"time"
"github.com/go-redis/redis"
"k8s.io/klog"
"time"
)
type Client struct {

View File

@@ -17,10 +17,11 @@ limitations under the License.
package cache
import (
"kubesphere.io/kubesphere/pkg/server/errors"
"regexp"
"strings"
"time"
"kubesphere.io/kubesphere/pkg/server/errors"
)
var ErrNoSuchKey = errors.New("no such key")

View File

@@ -17,10 +17,11 @@ limitations under the License.
package cache
import (
"github.com/google/go-cmp/cmp"
"k8s.io/apimachinery/pkg/util/sets"
"testing"
"time"
"github.com/google/go-cmp/cmp"
"k8s.io/apimachinery/pkg/util/sets"
)
var dataSet = map[string]string{