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

Method GetUser

internal/controller/user_controller.go:66–81  ·  view source on GitHub ↗

GetUser godoc @Summary Get user by ID @Description Get user information 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 @

(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
SuccessFunction · 0.92
handleServiceErrorFunction · 0.85
GetUserMethod · 0.65

Tested by

no test coverage detected