You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
448 B
21 lines
448 B
3 years ago
|
package service
|
||
|
|
||
|
import (
|
||
|
pb "github.com/go-kratos/kratos/examples/transaction/api/transaction/v1"
|
||
|
"github.com/go-kratos/kratos/examples/transaction/gorm/internal/biz"
|
||
|
|
||
|
"github.com/go-kratos/kratos/v2/log"
|
||
|
"github.com/google/wire"
|
||
|
)
|
||
|
|
||
|
// ProviderSet is service providers.
|
||
|
var ProviderSet = wire.NewSet(NewTransactionService)
|
||
|
|
||
|
type TransactionService struct {
|
||
|
pb.UnimplementedTransactionServiceServer
|
||
|
|
||
|
log *log.Helper
|
||
|
|
||
|
user *biz.UserUsecase
|
||
|
}
|