forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
go.work
27 lines (22 loc) · 986 Bytes
/
go.work
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
go 1.23.1
// The `skip:golangci-lint` comment tag is used to exclude the package from the `golangci-lint` GitHub Action.
// The module at the root of the repo (`.`) is excluded because ./pkg/... is included manually in the `golangci-lint` configuration.
use (
. // skip:golangci-lint
./apps/playlist
./pkg/aggregator
./pkg/apimachinery
./pkg/apiserver
./pkg/build
./pkg/build/wire // skip:golangci-lint
./pkg/promlib
./pkg/semconv
./pkg/storage/unified/apistore
./pkg/storage/unified/resource
./pkg/util/xorm // skip:golangci-lint
)
// when we release xorm we would like to release it like github.com/grafana/grafana/pkg/util/xorm
// but we don't want to change all the imports. so we use replace to handle this situation
replace xorm.io/xorm => ./pkg/util/xorm
replace github.com/getkin/kin-openapi => github.com/getkin/kin-openapi v0.125.0
replace github.com/prometheus/alertmanager => github.com/grafana/prometheus-alertmanager v0.25.1-0.20240930132144-b5e64e81e8d3