mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
16 lines
361 B
Go
16 lines
361 B
Go
package apiserver
|
|
|
|
import (
|
|
"github.com/google/wire"
|
|
|
|
"github.com/grafana/grafana/pkg/apiserver/builder"
|
|
)
|
|
|
|
var WireSet = wire.NewSet(
|
|
ProvideService,
|
|
wire.Bind(new(RestConfigProvider), new(*service)),
|
|
wire.Bind(new(Service), new(*service)),
|
|
wire.Bind(new(DirectRestConfigProvider), new(*service)),
|
|
wire.Bind(new(builder.APIRegistrar), new(*service)),
|
|
)
|