Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserDTO ¶
type CreateUserDTO struct { Name string `json:"name" binding:"required" conform:"trim"` Email string `json:"email" binding:"required,email" conform:"trim"` Password string `json:"password" binding:"required" conform:"trim"` }
func BindCreateUserDTO ¶
func BindCreateUserDTO(c *gin.Context) (*CreateUserDTO, error)
func NewCreateUserDTOStub ¶
func NewCreateUserDTOStub(fkr *faker.Faker) *CreateUserDTO
type EditUserDTO ¶
type EditUserDTO struct { Name string `json:"name,omitempty" conform:"trim"` Email string `json:"email,omitempty" binding:"email" conform:"trim"` }
func BindEditUserDTO ¶
func BindEditUserDTO(c *gin.Context) (*EditUserDTO, error)
func NewEditUserDTOStub ¶
func NewEditUserDTOStub(fkr *faker.Faker) *EditUserDTO
type HashIdUriParameterDTO ¶
type HashIdUriParameterDTO struct {
ID string `uri:"id"`
}
type IdUriParameterDTO ¶
type IdUriParameterDTO struct {
ID uint64 `uri:"id"`
}
Click to show internal directories.
Click to hide internal directories.