formatter

package
v0.0.0-...-89144a2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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