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.
kratos/examples/transaction/ent/internal/biz/biz.go

15 lines
238 B

package biz
import (
"context"
"github.com/google/wire"
)
// ProviderSet is biz providers.
var ProviderSet = wire.NewSet(NewUserUsecase)
type Transaction interface {
ExecTx(context.Context, func(ctx context.Context) error) error
}