Chore: Fix goimports grouping in pkg/services (#62420)

* fix goimports

* fix goimports order
This commit is contained in:
Serge Zaitsev
2023-01-30 09:21:27 +01:00
committed by GitHub
parent 324310abbc
commit bc2813ef06
74 changed files with 147 additions and 109 deletions

View File

@@ -8,8 +8,9 @@ import (
"path/filepath"
"strings"
"github.com/grafana/grafana/pkg/infra/log"
"gopkg.in/yaml.v3"
"github.com/grafana/grafana/pkg/infra/log"
)
type rulesConfigReader struct {

View File

@@ -4,8 +4,9 @@ import (
"context"
"testing"
"github.com/grafana/grafana/pkg/infra/log"
"github.com/stretchr/testify/require"
"github.com/grafana/grafana/pkg/infra/log"
)
const (

View File

@@ -3,9 +3,10 @@ package alerting
import (
"testing"
"github.com/grafana/grafana/pkg/services/provisioning/values"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
"github.com/grafana/grafana/pkg/services/provisioning/values"
)
func TestReceivers(t *testing.T) {

View File

@@ -7,10 +7,10 @@ import (
"strings"
"time"
"github.com/prometheus/common/model"
"github.com/grafana/grafana/pkg/services/ngalert/models"
"github.com/grafana/grafana/pkg/services/provisioning/values"
"github.com/prometheus/common/model"
)
type RuleDelete struct {

View File

@@ -4,9 +4,8 @@ import (
"os"
"testing"
"gopkg.in/yaml.v3"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)
func TestNotificationPolicy(t *testing.T) {