Chore: Vendor wire into pkg/build (#84637)
* vendor latest wire into pkg/build
* use vendored wire in builds
* fix wire import path
* remove wire from bingo
* also support google/wire import
* make prettier happy
* change package in tess
* add debug walk for drone
* add wire_gen in tests
* remove debug walk
* restore imports
(cherry picked from commit 4d4c06b480)
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
go 1.21.0
|
|
|
|
use (
|
|
.
|
|
./pkg/apimachinery
|
|
./pkg/apiserver
|
|
./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
|