package
0.0.0-20230412024353-756357c037e6
Repository: https://github.com/gabriel-newton-dev/gin-api-rest.git
Documentation: pkg.go.dev

# Functions

CallViper godoc@Sumary Call Viper@Description Route to Call Viper.
CreateNewStudent godoc@Sumary Create Students@Description Route to create students@Tags students@Accept json@Produce json@Param students body models.Alunos true "models Students"@Sucess 200{object} models.Alunos@Failure 404{object} http.BadRequest@Route /alunos [POST].
No description provided by the author
DeleteStudent godoc@Sumary Delete Student@Description Route to delete student@Tags student@Accept json@Produce json@Param students body models.Alunos true "models Students"@Sucess 200{object} models.Alunos@Failure 404{object} http.BadRequest@Route /alunos/:id [DELETE].
DisplaysAllStudent godoc@Sumary Display all student@Description Route to displays all student@Tags students@Accept json@Produce json@Sucess 200{object} []models.Alunos@Failure 404{object} http.BadRequest@Route /alunos [get].
No description provided by the author
No description provided by the author
DisplaysIndexPage godoc@Sumary Displays index.html@Description Route to render on index screen@Tags student@Accept json@Produce json@Param students body []models.Alunos true "models Students"@Sucess 200{object} []models.Alunos@Failure 404{object} http.BadRequest@Route "/index" [GET].
EditStudent godoc@Sumary Edit Student@Description Route to edit student@Tags student@Accept json@Produce json@Param students body models.Alunos true "models Students"@Sucess 200{object} models.Alunos@Failure 404{object} http.BadRequest@Route /alunos/:id [PATCH].
No description provided by the author
funcao para rendereizar na tela index.htmlDisplaysIndexPage godoc@Sumary I created a func for when I have a route found@Description Route to not Found@Route "r.NoRoute".
Salutation godoc@Sumary Salutation@Description Route to create students@Tags students@Accept json@Produce json@Param Params.ByName("nome")@Sucess 200{object} "API says": "Welcome " + name + " to our API."@Failure 404{object} http.BadRequest@Route /:nome [GET].
No description provided by the author
No description provided by the author
SearchStudentbyID godoc@Sumary Search Student by ID@Description Route to search students by ID@Tags students@Accept json@Produce json@Param students body models.Alunos true "models Students"@Sucess 200{object} models.Alunos@Failure 404{object} http.BadRequest@Route /alunos/:id [GET].