Documentation ¶
Index ¶
Constants ¶
View Source
const ( //Success constants GradesByStudent = "Successfully retrieved all the grades by student" AllGrades = "Successfully retrieved all grades" GradeInserted = "Successfully inserted grade with ID %s" GradeDeleted = "Successfully deleted grade with ID %s" GradeEdited = "Successfully edited grade with ID %s" GradeRetrieved = "Successfully retrieved the grade" //Errors constants GradeNotFound = "Grade not found" InvalidParameters = "Invalid parameters" MissingParameters = "Missing parameters" ValueShouldBeGreater = "Grade value should be greater than zero" DeleteFailed = "Failed to delete the grade" EditFailed = "Failed to edit the grade" )
Variables ¶
This section is empty.
Functions ¶
func ErrorMessageToJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.