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
@@ -9,7 +9,7 @@ import (
"github.com/go-sql-driver/mysql"
"github.com/grafana/dskit/crypto/tls"
"xorm.io/xorm"
"github.com/grafana/grafana/pkg/util/xorm"
"github.com/grafana/grafana/pkg/services/sqlstore"
"github.com/grafana/grafana/pkg/setting"
+1 -1
View File
@@ -7,10 +7,10 @@ import (
"sync"
"github.com/dlmiddlecote/sqlstats"
"github.com/grafana/grafana/pkg/util/xorm"
"github.com/prometheus/client_golang/prometheus"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/otel/trace/noop"
"xorm.io/xorm"
infraDB "github.com/grafana/grafana/pkg/infra/db"
"github.com/grafana/grafana/pkg/infra/log"