MCPcopy Create free account

hub / github.com/AleksK1NG/Go-Clean-Architecture-REST-API / functions

Functions480 in github.com/AleksK1NG/Go-Clean-Architecture-REST-API

FunctionTestAuthUC_Delete
(t *testing.T)
internal/auth/usecase/usecase_test.go:106
FunctionTestAuthUC_FindByName
(t *testing.T)
internal/auth/usecase/usecase_test.go:191
FunctionTestAuthUC_GetByID
(t *testing.T)
internal/auth/usecase/usecase_test.go:148
FunctionTestAuthUC_GetUsers
(t *testing.T)
internal/auth/usecase/usecase_test.go:234
FunctionTestAuthUC_Login
(t *testing.T)
internal/auth/usecase/usecase_test.go:276
FunctionTestAuthUC_Register
(t *testing.T)
internal/auth/usecase/usecase_test.go:23
FunctionTestAuthUC_Update
(t *testing.T)
internal/auth/usecase/usecase_test.go:63
FunctionTestAuthUC_UploadAvatar
(t *testing.T)
internal/auth/usecase/usecase_test.go:324
FunctionTestCommentsHandlers_Create
(t *testing.T)
internal/comments/delivery/http/handlers_test.go:24
FunctionTestCommentsHandlers_Delete
(t *testing.T)
internal/comments/delivery/http/handlers_test.go:105
FunctionTestCommentsHandlers_GetByID
(t *testing.T)
internal/comments/delivery/http/handlers_test.go:77
FunctionTestCommentsRepo_Create
(t *testing.T)
internal/comments/repository/pg_repository_test.go:16
FunctionTestCommentsRepo_Delete
(t *testing.T)
internal/comments/repository/pg_repository_test.go:121
FunctionTestCommentsRepo_Update
(t *testing.T)
internal/comments/repository/pg_repository_test.go:69
FunctionTestCommentsUC_Create
(t *testing.T)
internal/comments/usecase/usecase_test.go:18
FunctionTestCommentsUC_Delete
(t *testing.T)
internal/comments/usecase/usecase_test.go:77
FunctionTestCommentsUC_GetAllByNewsID
(t *testing.T)
internal/comments/usecase/usecase_test.go:142
FunctionTestCommentsUC_GetByID
(t *testing.T)
internal/comments/usecase/usecase_test.go:114
FunctionTestCommentsUC_Update
(t *testing.T)
internal/comments/usecase/usecase_test.go:40
FunctionTestNewsHandlers_Create
(t *testing.T)
internal/news/delivery/http/handlers_test.go:23
FunctionTestNewsHandlers_GetByID
(t *testing.T)
internal/news/delivery/http/handlers_test.go:127
FunctionTestNewsHandlers_Update
(t *testing.T)
internal/news/delivery/http/handlers_test.go:74
FunctionTestNewsRedisRepo_DeleteNewsCtx
(t *testing.T)
internal/news/repository/redis_repository_test.go:79
FunctionTestNewsRedisRepo_GetNewsByIDCtx
(t *testing.T)
internal/news/repository/redis_repository_test.go:50
FunctionTestNewsRedisRepo_SetNewsCtx
(t *testing.T)
internal/news/repository/redis_repository_test.go:30
FunctionTestNewsRepo_Create
(t *testing.T)
internal/news/repository/pg_repository_test.go:15
FunctionTestNewsRepo_Delete
(t *testing.T)
internal/news/repository/pg_repository_test.go:90
FunctionTestNewsRepo_Update
(t *testing.T)
internal/news/repository/pg_repository_test.go:50
FunctionTestNewsUC_Create
(t *testing.T)
internal/news/usecase/usecase_test.go:19
FunctionTestNewsUC_Delete
(t *testing.T)
internal/news/usecase/usecase_test.go:130
FunctionTestNewsUC_GetNews
(t *testing.T)
internal/news/usecase/usecase_test.go:166
FunctionTestNewsUC_GetNewsByID
(t *testing.T)
internal/news/usecase/usecase_test.go:100
FunctionTestNewsUC_SearchByTitle
(t *testing.T)
internal/news/usecase/usecase_test.go:197
FunctionTestNewsUC_Update
(t *testing.T)
internal/news/usecase/usecase_test.go:53
FunctionTestSessionRepo_CreateSession
(t *testing.T)
internal/session/repository/redis_repository_test.go:30
FunctionTestSessionRepo_DeleteByID
(t *testing.T)
internal/session/repository/redis_repository_test.go:68
FunctionTestSessionRepo_GetSessionByID
(t *testing.T)
internal/session/repository/redis_repository_test.go:47
FunctionTestSessionUC_CreateSession
(t *testing.T)
internal/session/usecase/usecase_test.go:14
FunctionTestSessionUC_DeleteByID
(t *testing.T)
internal/session/usecase/usecase_test.go:56
FunctionTestSessionUC_GetSessionByID
(t *testing.T)
internal/session/usecase/usecase_test.go:35
MethodUpdate
(ctx context.Context, user *models.User)
internal/auth/pg_repository.go:16
MethodUpdate
(ctx context.Context, user *models.User)
internal/auth/usecase.go:17
MethodUpdate
()
internal/auth/delivery.go:10
MethodUpdate
Update godoc @Summary Update user @Description update existing user @Tags Auth @Accept json @Param id path int true "user_id" @Produce json @Success 2
internal/auth/delivery/http/handlers.go:164
MethodUpdate
Update existing user
internal/auth/repository/pg_repository.go:44
MethodUpdate
Update mocks base method
internal/auth/mock/pg_repository_mock.go:55
MethodUpdate
Update indicates an expected call of Update
internal/auth/mock/pg_repository_mock.go:64
MethodUpdate
Update mocks base method
internal/auth/mock/usecase_mock.go:70
MethodUpdate
Update indicates an expected call of Update
internal/auth/mock/usecase_mock.go:79
MethodUpdate
Update existing user
internal/auth/usecase/usecase.go:71
MethodUpdate
(ctx context.Context, comment *models.Comment)
internal/comments/pg_repository.go:16
MethodUpdate
(ctx context.Context, comment *models.Comment)
internal/comments/usecase.go:16
MethodUpdate
()
internal/comments/delivery.go:8
MethodUpdate
Update @Summary Update comment @Description update new comment @Tags Comments @Accept json @Produce json @Param id path int true "comment_id" @Succe
internal/comments/delivery/http/hanldlers.go:78
MethodUpdate
Update comment
internal/comments/repository/pg_repository.go:47
MethodUpdate
Update mocks base method
internal/comments/mock/pg_repository_mock.go:55
MethodUpdate
Update indicates an expected call of Update
internal/comments/mock/pg_repository_mock.go:64
MethodUpdate
Update mocks base method
internal/comments/mock/usecase_mock.go:55
MethodUpdate
Update indicates an expected call of Update
internal/comments/mock/usecase_mock.go:64
MethodUpdate
Update comment
internal/comments/usecase/usecase.go:39
MethodUpdate
(ctx context.Context, news *models.News)
internal/news/pg_repository.go:16
MethodUpdate
()
internal/news/delivery.go:8
MethodUpdate
Update godoc @Summary Update news @Description Update news handler @Tags News @Accept json @Produce json @Param id path int true "news_id" @Success 20
internal/news/delivery/http/handlers.go:68
MethodUpdate
Update news item
internal/news/repository/pg_repository.go:48
MethodUpdate
Update mocks base method
internal/news/mock/pg_repository_mock.go:55
MethodUpdate
Update indicates an expected call of Update
internal/news/mock/pg_repository_mock.go:64
MethodUpdate
Update mocks base method
internal/news/mock/usecase_mock.go:55
MethodUpdate
Update indicates an expected call of Update
internal/news/mock/usecase_mock.go:64
MethodUpdate
Update news item
internal/news/usecase/usecase.go:63
MethodUploadAvatar
()
internal/auth/delivery.go:16
MethodUploadAvatar
UploadAvatar godoc @Summary Post avatar @Description Post user avatar image @Tags Auth @Accept json @Produce json @Param file formData file true "Bo
internal/auth/delivery/http/handlers.go:386
MethodUploadAvatar
UploadAvatar mocks base method
internal/auth/mock/usecase_mock.go:144
MethodUploadAvatar
UploadAvatar indicates an expected call of UploadAvatar
internal/auth/mock/usecase_mock.go:153
MethodUploadAvatar
Upload user avatar
internal/auth/usecase/usecase.go:182
MethodWarn
(args ...interface{})
pkg/logger/zap_logger.go:114
MethodWarnf
(template string, args ...interface{})
pkg/logger/zap_logger.go:118
Functioninit
()
pkg/sanitize/sanitize.go:12
Functioninit
()
pkg/utils/validator.go:12
Functioninit
()
docs/docs.go:1110
Functionmain
@title Go Example REST API @version 1.0 @description Example Golang REST API @contact.name Alexander Bryksin @contact.url https://github.com/AleksK1NG
cmd/api/main.go:30
← previous401–480 of 480, ranked by callers