33 lines
785 B
Go
33 lines
785 B
Go
// Code generated by Wire. DO NOT EDIT.
|
|
|
|
//go:generate go run github.com/google/wire/cmd/wire
|
|
//go:build !wireinject
|
|
// +build !wireinject
|
|
|
|
package wire
|
|
|
|
import (
|
|
"pastebin/gen/v1"
|
|
"pastebin/services/controller/v1"
|
|
)
|
|
|
|
// Injectors from wire.go:
|
|
|
|
func InitPastebinService() *PastebinService {
|
|
pastebinService := &controllerv1.PastebinService{}
|
|
pastebinService_RouterMap := &genv1.PastebinService_RouterMap{}
|
|
wirePastebinService := NewPastebinService(pastebinService, pastebinService_RouterMap)
|
|
return wirePastebinService
|
|
}
|
|
|
|
// wire.go:
|
|
|
|
type PastebinService struct {
|
|
*controllerv1.PastebinService
|
|
*genv1.PastebinService_RouterMap
|
|
}
|
|
|
|
func NewPastebinService(c *controllerv1.PastebinService, r *genv1.PastebinService_RouterMap) *PastebinService {
|
|
return &PastebinService{c, r}
|
|
}
|