package
1.6.1
Repository: https://github.com/projeto-uspy/uspy-backend.git
Documentation: pkg.go.dev

# Functions

DeleteComment deletes a comment made by the given user It deletes not only the comment associated with the offering, but also the replica in user comments.
GetComment retrieves the comment associated with an offering made by a given user.
GetCommentRating retrieves the rating made for a comment by a given user.
GetSubjectGrade retrieves the grade a user has in the given subject GetSubjectGrade is the model implementation for /server/controller/private/user.GetSubjectGrade.
GetSubjectReview retrieves the review made for a subject by an user GetSubjectReview is the model implementation for /server/controller/private/user.GetSubjectReview.
GetSubjectVerification retrieves the verification status of a subject for a user GetSubjectVerification is the model implementation for /server/controller/private/user.GetSubjectVerification.
PublishComment publishes a comment and its associated reaction made by a given user.
RateComment takes a user's rating and applies it to a given comment.
ReportComment takes a user's report and applies it to a given comment.
UpdateSubjectReview updates the review made for a subject given by an user UpdateSubjectReview is the model implementation for /server/controller/private/user.UpdateSubjectReview.