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

Function NewAuthUseCase

internal/auth/usecase/usecase.go:35–37  ·  view source on GitHub ↗

Auth UseCase constructor

(cfg *config.Config, authRepo auth.Repository, redisRepo auth.RedisRepository, awsRepo auth.AWSRepository, log logger.Logger)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

TestAuthUC_RegisterFunction · 0.85
TestAuthUC_UpdateFunction · 0.85
TestAuthUC_DeleteFunction · 0.85
TestAuthUC_GetByIDFunction · 0.85
TestAuthUC_FindByNameFunction · 0.85
TestAuthUC_GetUsersFunction · 0.85
TestAuthUC_LoginFunction · 0.85
TestAuthUC_UploadAvatarFunction · 0.85

Calls

no outgoing calls

Tested by 8

TestAuthUC_RegisterFunction · 0.68
TestAuthUC_UpdateFunction · 0.68
TestAuthUC_DeleteFunction · 0.68
TestAuthUC_GetByIDFunction · 0.68
TestAuthUC_FindByNameFunction · 0.68
TestAuthUC_GetUsersFunction · 0.68
TestAuthUC_LoginFunction · 0.68
TestAuthUC_UploadAvatarFunction · 0.68