mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
3fb6319d1b
* Move files to prometheus-library * refactor core prometheus to use prometheus-library * modify client transport options * mock * have a type * import aliases * rename * call the right method * remove unrelated test from the library * update codeowners * go work sync * update go.work.sum * make swagger-clean && make openapi3-gen * add promlib to makefile * remove clilogger * Export the function * update unit test * add prometheus_test.go * fix mock type * use mapUtil from grafana-plugin-sdk-go
14 lines
321 B
Plaintext
14 lines
321 B
Plaintext
go 1.21.0
|
|
|
|
use (
|
|
.
|
|
./pkg/apimachinery
|
|
./pkg/apiserver
|
|
./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
|