package
0.0.0-20230605094053-b8cc3cea02bc
Repository: https://github.com/daizaikun/back-library.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
@Summary Delete user @Tags User @Description Delete user @Produce json @Param id path string true "User ID" @Success 204 @Failure 404 {object} models.Error @Failure 500 {object} models.Error @Router /crud/user/{id} [delete].
@Summary Get all users @Tags User @Description Get all users @Produce json @Success 200 {array} []models.User @Failure 500 {object} models.Error @Router /crud/user [get].
@Summary Get user by email @Tags User @Description Get user by email @Produce json @Param email path string true "Email of the user" @Success 200 {object} models.User @Failure 404 {object} models.Error @Router /crud/user [get].
@Summary Get user by id @Tags User @Description Get user by id @Produce json @Param id path string true "User id" @Success 200 {object} models.User @Failure 404 {object} models.Error @Router /crud/user/{id} [get].
No description provided by the author
No description provided by the author
@Summary Get all users @Tags User @Description Get all users @Produce json @Success 200 {array} []models.User @Failure 500 {object} models.Error @Router /crud/user [get].
No description provided by the author