mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
df3d8915ba
* chore: Bump Go to 1.23.0 Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * update swagger files Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * chore: update .bingo/README.md formatting to satisfy prettier Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23 Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * keep golden file * update openapi * add name to expected output * chore(lint): rearrange imports to a sensible order Signed-off-by: Dave Henderson <dave.henderson@grafana.com> --------- Signed-off-by: Dave Henderson <dave.henderson@grafana.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
22 lines
728 B
Plaintext
22 lines
728 B
Plaintext
go 1.23.0
|
|
|
|
// 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
|
|
./pkg/aggregator
|
|
./pkg/apimachinery
|
|
./pkg/apiserver
|
|
./pkg/build
|
|
./pkg/build/wire // skip:golangci-lint
|
|
./pkg/promlib
|
|
./pkg/semconv
|
|
./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
|