Documentation
¶
Index ¶
- func FormatProfessorEntitiesToDto(professors []entity.Professor) []dto.FetchProfessorResponse
- func FormatProfessorEntityToDto(professor entity.Professor) dto.FetchProfessorResponse
- func FormatProfessorStaticToEntity(professors []dto.ProfessorStatic) []entity.Professor
- func FormatReactionToEntity(reaction *dto.ReviewReactionRequest) *entity.ReviewReaction
- func FormatReviewEntitiesToDto(reviews []entity.ReviewWithRelations) []dto.FetchReviewResponse
- func FormatReviewEntityToDto(review *entity.ReviewWithRelations) dto.FetchReviewResponse
- func FormatReviewToEntity(review *dto.ProfessorReviewRequest) entity.Review
- func FormatToUserProfile(user *entity.User, reviews []entity.ReviewWithRelations) dto.UserProfileResponse
- func FormatUserEntityToDto(user *entity.User) dto.FetchUserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatProfessorEntitiesToDto ¶
func FormatProfessorEntitiesToDto(professors []entity.Professor) []dto.FetchProfessorResponse
func FormatProfessorEntityToDto ¶
func FormatProfessorEntityToDto(professor entity.Professor) dto.FetchProfessorResponse
func FormatProfessorStaticToEntity ¶
func FormatProfessorStaticToEntity(professors []dto.ProfessorStatic) []entity.Professor
func FormatReactionToEntity ¶
func FormatReactionToEntity(reaction *dto.ReviewReactionRequest) *entity.ReviewReaction
func FormatReviewEntitiesToDto ¶
func FormatReviewEntitiesToDto(reviews []entity.ReviewWithRelations) []dto.FetchReviewResponse
func FormatReviewEntityToDto ¶
func FormatReviewEntityToDto(review *entity.ReviewWithRelations) dto.FetchReviewResponse
func FormatReviewToEntity ¶
func FormatReviewToEntity(review *dto.ProfessorReviewRequest) entity.Review
func FormatToUserProfile ¶
func FormatToUserProfile(user *entity.User, reviews []entity.ReviewWithRelations) dto.UserProfileResponse
func FormatUserEntityToDto ¶
func FormatUserEntityToDto(user *entity.User) dto.FetchUserResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.