grafana/go.work
Kevin Minehart a250706305
CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… (#89243)
* Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum

* fix go.work format

* log errors on file close errors
2024-06-14 19:35:30 +03:00

20 lines
567 B
Plaintext

go 1.22.4
use (
.
./pkg/apimachinery
./pkg/apiserver
./pkg/build
./pkg/build/wire
./pkg/promlib
./pkg/util/xorm
)
// 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
// this is required until a new version of k8s.io/component-base is released
// with an update to prometheus/common v0.48.0
replace k8s.io/component-base => k8s.io/component-base v0.0.0-20240417101527-62c04b35eff6