Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AleksK1NG/Go-Clean-Architecture-REST-API
/ functions
Functions
480 in github.com/AleksK1NG/Go-Clean-Architecture-REST-API
⨍
Functions
480
◇
Types & classes
90
Function
TestAuthUC_Delete
(t *testing.T)
internal/auth/usecase/usecase_test.go:106
Function
TestAuthUC_FindByName
(t *testing.T)
internal/auth/usecase/usecase_test.go:191
Function
TestAuthUC_GetByID
(t *testing.T)
internal/auth/usecase/usecase_test.go:148
Function
TestAuthUC_GetUsers
(t *testing.T)
internal/auth/usecase/usecase_test.go:234
Function
TestAuthUC_Login
(t *testing.T)
internal/auth/usecase/usecase_test.go:276
Function
TestAuthUC_Register
(t *testing.T)
internal/auth/usecase/usecase_test.go:23
Function
TestAuthUC_Update
(t *testing.T)
internal/auth/usecase/usecase_test.go:63
Function
TestAuthUC_UploadAvatar
(t *testing.T)
internal/auth/usecase/usecase_test.go:324
Function
TestCommentsHandlers_Create
(t *testing.T)
internal/comments/delivery/http/handlers_test.go:24
Function
TestCommentsHandlers_Delete
(t *testing.T)
internal/comments/delivery/http/handlers_test.go:105
Function
TestCommentsHandlers_GetByID
(t *testing.T)
internal/comments/delivery/http/handlers_test.go:77
Function
TestCommentsRepo_Create
(t *testing.T)
internal/comments/repository/pg_repository_test.go:16
Function
TestCommentsRepo_Delete
(t *testing.T)
internal/comments/repository/pg_repository_test.go:121
Function
TestCommentsRepo_Update
(t *testing.T)
internal/comments/repository/pg_repository_test.go:69
Function
TestCommentsUC_Create
(t *testing.T)
internal/comments/usecase/usecase_test.go:18
Function
TestCommentsUC_Delete
(t *testing.T)
internal/comments/usecase/usecase_test.go:77
Function
TestCommentsUC_GetAllByNewsID
(t *testing.T)
internal/comments/usecase/usecase_test.go:142
Function
TestCommentsUC_GetByID
(t *testing.T)
internal/comments/usecase/usecase_test.go:114
Function
TestCommentsUC_Update
(t *testing.T)
internal/comments/usecase/usecase_test.go:40
Function
TestNewsHandlers_Create
(t *testing.T)
internal/news/delivery/http/handlers_test.go:23
Function
TestNewsHandlers_GetByID
(t *testing.T)
internal/news/delivery/http/handlers_test.go:127
Function
TestNewsHandlers_Update
(t *testing.T)
internal/news/delivery/http/handlers_test.go:74
Function
TestNewsRedisRepo_DeleteNewsCtx
(t *testing.T)
internal/news/repository/redis_repository_test.go:79
Function
TestNewsRedisRepo_GetNewsByIDCtx
(t *testing.T)
internal/news/repository/redis_repository_test.go:50
Function
TestNewsRedisRepo_SetNewsCtx
(t *testing.T)
internal/news/repository/redis_repository_test.go:30
Function
TestNewsRepo_Create
(t *testing.T)
internal/news/repository/pg_repository_test.go:15
Function
TestNewsRepo_Delete
(t *testing.T)
internal/news/repository/pg_repository_test.go:90
Function
TestNewsRepo_Update
(t *testing.T)
internal/news/repository/pg_repository_test.go:50
Function
TestNewsUC_Create
(t *testing.T)
internal/news/usecase/usecase_test.go:19
Function
TestNewsUC_Delete
(t *testing.T)
internal/news/usecase/usecase_test.go:130
Function
TestNewsUC_GetNews
(t *testing.T)
internal/news/usecase/usecase_test.go:166
Function
TestNewsUC_GetNewsByID
(t *testing.T)
internal/news/usecase/usecase_test.go:100
Function
TestNewsUC_SearchByTitle
(t *testing.T)
internal/news/usecase/usecase_test.go:197
Function
TestNewsUC_Update
(t *testing.T)
internal/news/usecase/usecase_test.go:53
Function
TestSessionRepo_CreateSession
(t *testing.T)
internal/session/repository/redis_repository_test.go:30
Function
TestSessionRepo_DeleteByID
(t *testing.T)
internal/session/repository/redis_repository_test.go:68
Function
TestSessionRepo_GetSessionByID
(t *testing.T)
internal/session/repository/redis_repository_test.go:47
Function
TestSessionUC_CreateSession
(t *testing.T)
internal/session/usecase/usecase_test.go:14
Function
TestSessionUC_DeleteByID
(t *testing.T)
internal/session/usecase/usecase_test.go:56
Function
TestSessionUC_GetSessionByID
(t *testing.T)
internal/session/usecase/usecase_test.go:35
Method
Update
(ctx context.Context, user *models.User)
internal/auth/pg_repository.go:16
Method
Update
(ctx context.Context, user *models.User)
internal/auth/usecase.go:17
Method
Update
()
internal/auth/delivery.go:10
Method
Update
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
Method
Update
Update existing user
internal/auth/repository/pg_repository.go:44
Method
Update
Update mocks base method
internal/auth/mock/pg_repository_mock.go:55
Method
Update
Update indicates an expected call of Update
internal/auth/mock/pg_repository_mock.go:64
Method
Update
Update mocks base method
internal/auth/mock/usecase_mock.go:70
Method
Update
Update indicates an expected call of Update
internal/auth/mock/usecase_mock.go:79
Method
Update
Update existing user
internal/auth/usecase/usecase.go:71
Method
Update
(ctx context.Context, comment *models.Comment)
internal/comments/pg_repository.go:16
Method
Update
(ctx context.Context, comment *models.Comment)
internal/comments/usecase.go:16
Method
Update
()
internal/comments/delivery.go:8
Method
Update
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
Method
Update
Update comment
internal/comments/repository/pg_repository.go:47
Method
Update
Update mocks base method
internal/comments/mock/pg_repository_mock.go:55
Method
Update
Update indicates an expected call of Update
internal/comments/mock/pg_repository_mock.go:64
Method
Update
Update mocks base method
internal/comments/mock/usecase_mock.go:55
Method
Update
Update indicates an expected call of Update
internal/comments/mock/usecase_mock.go:64
Method
Update
Update comment
internal/comments/usecase/usecase.go:39
Method
Update
(ctx context.Context, news *models.News)
internal/news/pg_repository.go:16
Method
Update
()
internal/news/delivery.go:8
Method
Update
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
Method
Update
Update news item
internal/news/repository/pg_repository.go:48
Method
Update
Update mocks base method
internal/news/mock/pg_repository_mock.go:55
Method
Update
Update indicates an expected call of Update
internal/news/mock/pg_repository_mock.go:64
Method
Update
Update mocks base method
internal/news/mock/usecase_mock.go:55
Method
Update
Update indicates an expected call of Update
internal/news/mock/usecase_mock.go:64
Method
Update
Update news item
internal/news/usecase/usecase.go:63
Method
UploadAvatar
()
internal/auth/delivery.go:16
Method
UploadAvatar
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
Method
UploadAvatar
UploadAvatar mocks base method
internal/auth/mock/usecase_mock.go:144
Method
UploadAvatar
UploadAvatar indicates an expected call of UploadAvatar
internal/auth/mock/usecase_mock.go:153
Method
UploadAvatar
Upload user avatar
internal/auth/usecase/usecase.go:182
Method
Warn
(args ...interface{})
pkg/logger/zap_logger.go:114
Method
Warnf
(template string, args ...interface{})
pkg/logger/zap_logger.go:118
Function
init
()
pkg/sanitize/sanitize.go:12
Function
init
()
pkg/utils/validator.go:12
Function
init
()
docs/docs.go:1110
Function
main
@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
← previous
401–480 of 480, ranked by callers