Chore: Fix goimports grouping in other backend platform packages (#62422)

* fix goimports

* fix goimports order

* fix goimports order

* fix goimports order

* fix goimports order

* fix goimports order
This commit is contained in:
Serge Zaitsev
2023-01-30 08:26:42 +00:00
committed by GitHub
parent da7065d3dc
commit aebcecf538
38 changed files with 72 additions and 52 deletions
+1 -2
View File
@@ -3,10 +3,9 @@ package setting
import (
"testing"
"gopkg.in/ini.v1"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/ini.v1"
)
func TestValueAsTimezone(t *testing.T) {
+1 -2
View File
@@ -7,9 +7,8 @@ import (
"os"
"testing"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestExpandVar_EnvSuccessful(t *testing.T) {
+3 -4
View File
@@ -21,16 +21,15 @@ import (
"strings"
"time"
"github.com/gobwas/glob"
"github.com/grafana/grafana-aws-sdk/pkg/awsds"
"github.com/grafana/grafana-azure-sdk-go/azsettings"
"github.com/grafana/grafana-plugin-sdk-go/backend/gtime"
"github.com/prometheus/common/model"
"gopkg.in/ini.v1"
"github.com/grafana/grafana/pkg/infra/log"
"github.com/grafana/grafana/pkg/util"
"github.com/gobwas/glob"
"github.com/prometheus/common/model"
"gopkg.in/ini.v1"
)
type Scheme string
-1
View File
@@ -4,7 +4,6 @@ import (
"testing"
"github.com/grafana/grafana-azure-sdk-go/azsettings"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
+2 -1
View File
@@ -3,8 +3,9 @@ package setting
import (
"strconv"
"github.com/grafana/grafana/pkg/util"
"gopkg.in/ini.v1"
"github.com/grafana/grafana/pkg/util"
)
// @deprecated -- should use `featuremgmt.FeatureToggles`
+2 -2
View File
@@ -4,9 +4,9 @@ import (
"path/filepath"
"testing"
"github.com/grafana/grafana/pkg/infra/log/logtest"
"github.com/stretchr/testify/require"
"github.com/grafana/grafana/pkg/infra/log/logtest"
)
func TestSessionSettings(t *testing.T) {
-1
View File
@@ -14,7 +14,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/ini.v1"
)
+2 -3
View File
@@ -8,11 +8,10 @@ import (
"time"
"github.com/grafana/grafana-plugin-sdk-go/backend/gtime"
"github.com/grafana/grafana/pkg/util"
"github.com/prometheus/alertmanager/cluster"
"gopkg.in/ini.v1"
"github.com/grafana/grafana/pkg/util"
)
const (