Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAccountInputDTO ¶
type AddAccountInputDTO struct { UserName string `json:"userName"` Email string `json:"email"` Password string `json:"password"` ConfirmPassword string `json:"confirmPassword"` }
func NewAddAccountInputDTO ¶
func NewAddAccountInputDTO(userName string, email string, password string, confirmPassword string) *AddAccountInputDTO
type AddAccountOutputDTO ¶
type AddAccountOutputDTO struct { ID string `json:"id"` UserName string `json:"userName"` Email string `json:"email"` }
func NewAddAccountOutputDTO ¶
func NewAddAccountOutputDTO(id string, userName string, email string) *AddAccountOutputDTO
type AddBookUseCaseInputDTO ¶
type AddBookUseCaseOutputDTO ¶
type AddUserInputDTO ¶
type AddUserInputDTO struct { Name string `json:"name"` UserName string `json:"userName"` Email string `json:"email"` }
func NewAddUserInputDTO ¶
func NewAddUserInputDTO(name string, userName string, email string) *AddUserInputDTO
type AddUserOutputDTO ¶
type AddUserOutputDTO struct { ID string `json:"id"` Name string `json:"name"` UserName string `json:"userName"` Email string `json:"email"` }
func NewAddUserOutputDTO ¶
func NewAddUserOutputDTO(id string, name string, userName string, email string) *AddUserOutputDTO
type GetUserByIdUseCaseOutputDTO ¶
type GetUserByIdUseCaseOutputDTO struct { ID string `json:"id"` Name string `json:"name"` Email string `json:"email"` UserName string `json:"userName"` Books []entities.Book `json:"books"` }
type ListAccountsOutputDTO ¶
type ListUsersDTO ¶
type ListUsersDTO struct { ID string `json:"id"` Name string `json:"name"` UserName string `json:"userName"` Email string `json:"email"` Books []entities.Book `json:"books"` }
func MapListUsersDTO ¶
func MapListUsersDTO(users []*entities.User) []*ListUsersDTO
func NewListUserDTO ¶
Click to show internal directories.
Click to hide internal directories.