create_account

package
v0.0.0-...-3bb572b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAccountCommand

type CreateAccountCommand struct {
	CustomerID uuid.UUID `json:"customer_id"`
}

type CreateAccountOutput

type CreateAccountOutput struct {
	ID uuid.UUID `json:"id"`
}

type CreateAccountUseCase

type CreateAccountUseCase struct {
	AccountGateway  gateway.AccountGateway
	CustomerGateway gateway.CustomerGateway
}

func NewCreateAccountUseCase

func NewCreateAccountUseCase(
	accountGateway gateway.AccountGateway,
	customerGateway gateway.CustomerGateway,
) *CreateAccountUseCase

func (*CreateAccountUseCase) Execute

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL