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

@@ -5,8 +5,9 @@ package dashboards
import (
context "context"
folder "github.com/grafana/grafana/pkg/services/folder"
mock "github.com/stretchr/testify/mock"
folder "github.com/grafana/grafana/pkg/services/folder"
)
// FakeDashboardService is an autogenerated mock type for the DashboardService type

View File

@@ -5,8 +5,9 @@ package dashboards
import (
context "context"
folder "github.com/grafana/grafana/pkg/services/folder"
mock "github.com/stretchr/testify/mock"
folder "github.com/grafana/grafana/pkg/services/folder"
)
// FakeFolderStore is an autogenerated mock type for the FolderStore type

View File

@@ -3,11 +3,12 @@ package dashboards
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/infra/slugify"
"github.com/grafana/grafana/pkg/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestGetDashboardUrl(t *testing.T) {

View File

@@ -5,11 +5,10 @@ package dashboards
import (
context "context"
folder "github.com/grafana/grafana/pkg/services/folder"
mock "github.com/stretchr/testify/mock"
models "github.com/grafana/grafana/pkg/services/alerting/models"
folder "github.com/grafana/grafana/pkg/services/folder"
quota "github.com/grafana/grafana/pkg/services/quota"
)