MCPcopy Create free account
hub / github.com/AleksK1NG/Go-Clean-Architecture-REST-API / Register

Method Register

internal/auth/usecase/usecase.go:40–68  ·  view source on GitHub ↗

Create new user

(ctx context.Context, user *models.User)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

NewRestErrorWithMessageFunction · 0.92
NewBadRequestErrorFunction · 0.92
GenerateJWTTokenFunction · 0.92
NewInternalServerErrorFunction · 0.92
PrepareCreateMethod · 0.80
SanitizePasswordMethod · 0.80
FindByEmailMethod · 0.65
RegisterMethod · 0.65

Tested by

no test coverage detected