Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdateProfileHandler ¶
type UpdateProfileHandler struct {
// contains filtered or unexported fields
}
func NewUpdateProfileHandler ¶
func NewUpdateProfileHandler( ur *repositories.UserRepository, ) *UpdateProfileHandler
func (*UpdateProfileHandler) Handle ¶
func (h *UpdateProfileHandler) Handle(ctx fiber.Ctx) error
TODO: add swagger response Update profile godoc
@Param Authorization header string true "123" @Param body body dtos.UpdateProfileRequestDto true "Body" @Tags User Controller @Accept json @Produce json
@Success 200 {object} dtos.MeResponseDto @Router /api/v1/user/profile [put]
Click to show internal directories.
Click to hide internal directories.