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

Method CreateUser

internal/controller/user_controller.go:37–51  ·  view source on GitHub ↗

CreateUser godoc @Summary Create a new user @Description Create a new user with username, email, phone and password @Tags users @Accept json @Produce json @Param request body dto.CreateUserRequest true "User information" @Success 200 {object} response.Response @Failure 400 {obj

(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 5

ErrorFunction · 0.92
SuccessFunction · 0.92
handleServiceErrorFunction · 0.85
ErrorMethod · 0.80
CreateUserMethod · 0.65

Tested by

no test coverage detected