# Functions
CreateStudent godoc
@Summary Create a student @Description create a register for a student @Tags students @Accept json @Produce json @Param name body string true "Student Name" @Param cpf body int true "Student CPF" @Param rg body int true "Student RG" @Success 200 {object} models.Student @Failure 400 {object} httputil.HTTPError @Failure 500 {object} httputil.HTTPError @Router /students [post].
DeleteStudent godoc
@Summary Delete a student @Description delete a student's register by ID @Tags students @Accept json @Produce json @Param id path int true "Student ID" @Success 200 {object} models.Student @Failure 500 {object} httputil.HTTPError @Router /students/{id} [delete].
No description provided by the author
GetStudentByCpf godoc
@Summary Show a student @Description get a student by CPF @Tags students @Accept json @Produce json @Param cpf path int true "Student CPF" @Success 200 {object} models.Student @Failure 404 {object} httputil.HTTPError @Failure 500 {object} httputil.HTTPError @Router /students/cpf/{cpf} [get].
GetStudentByID godoc
@Summary Show a student @Description get a student by ID @Tags students @Accept json @Produce json @Param id path int true "Student ID" @Success 200 {object} models.Student @Failure 404 {object} httputil.HTTPError @Failure 500 {object} httputil.HTTPError @Router /students/{id} [get].
Greeting godoc
@Summary Show a greeting @Description get a greeting for a given name @Tags greeting @Accept json @Produce json @Param name path string true "Student Name" @Success 200 {object} string @Failure 500 {object} httputil.HTTPError @Router /{name} [get].
ShowAllStudents godoc
@Summary Show all students @Description get all students recorded on database @Tags students @Accept json @Produce json @Success 200 {object} models.Student @Failure 500 {object} httputil.HTTPError @Router /students [get].
No description provided by the author
UpdateStudent godoc
@Summary Update a student @Description update a student's register by ID @Tags students @Accept json @Produce json @Param id path int true "Student ID" @Success 200 {object} models.Student @Failure 400 {object} httputil.HTTPError @Failure 500 {object} httputil.HTTPError @Router /students/{id} [patch].