Chore: Replace xorm.io/xorm imports (#104458)

* replace xorm.io/xorm imports

* replace xorm from other go.mod files

* clean up workspace

* nolint does not make sense anymore as it is not a module

* try if nolint directive helps

* use nolint:all for xorm

* add more nolints

* try to skip xorm in linter config

* exclude xorm differently

* retrigger ci
This commit is contained in:
Serge Zaitsev
2025-05-02 17:13:01 +02:00
committed by GitHub
parent 847b07dee2
commit 694b9dfe50
65 changed files with 58 additions and 1780 deletions
@@ -10,9 +10,9 @@ import (
"github.com/grafana/grafana/pkg/services/sqlstore/migrator"
"github.com/grafana/grafana/pkg/services/sqlstore/sqlutil"
"github.com/grafana/grafana/pkg/setting"
"github.com/grafana/grafana/pkg/util/xorm"
"github.com/stretchr/testify/require"
"gopkg.in/ini.v1"
"xorm.io/xorm"
)
type rawPermission struct {
@@ -5,8 +5,8 @@ import (
"strings"
"testing"
"github.com/grafana/grafana/pkg/util/xorm"
"github.com/stretchr/testify/require"
"xorm.io/xorm"
"github.com/grafana/grafana/pkg/infra/log"
"github.com/grafana/grafana/pkg/services/accesscontrol"