MCPcopy Create free account
hub / github.com/0xdpfly/gin-app-start / DeleteUser

Method DeleteUser

internal/controller/user_controller.go:133–147  ·  view source on GitHub ↗

DeleteUser godoc @Summary Delete user @Description Delete user by user ID @Tags users @Accept json @Produce json @Param id path int true "User ID" @Success 200 {object} response.Response @Failure 400 {object} response.Response @Failure 404 {object} response.Response @Failure

(c *gin.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

ErrorFunction · 0.92
SuccessWithMessageFunction · 0.92
handleServiceErrorFunction · 0.85
DeleteUserMethod · 0.65

Tested by

no test coverage detected