MCPcopy Create free account
hub / github.com/SwishHQ/spread / NewUserController

Function NewUserController

src/controller/user_controller.go:24–26  ·  view source on GitHub ↗
(userService service.UserService)

Source from the content-addressed store, hash-verified

22}
23
24func NewUserController(userService service.UserService) UserController {
25 return &userController{userService: userService}
26}
27
28func (c *userController) CreateUser(ctx *fiber.Ctx) error {
29 user := types.CreateUserRequest{}

Callers 1

serveFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected