MCPcopy Index your code
hub / github.com/AleksK1NG/Go-Clean-Architecture-REST-API

github.com/AleksK1NG/Go-Clean-Architecture-REST-API @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
570 symbols 1,930 edges 90 files 379 documented · 66%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

UCSession (Interface)
Session use case [6 implementers]
internal/session/usecase.go
AWSRepository (Interface)
Minio AWS S3 interface [3 implementers]
internal/auth/aws_repository.go
Logger (Interface)
Logger methods interface [1 implementers]
pkg/logger/zap_logger.go
Metrics (Interface)
App Metrics interface [1 implementers]
pkg/metric/metric.go
RestErr (Interface)
Rest error interface [1 implementers]
pkg/httpErrors/http_errors.go
Repository (Interface)
Comments repository interface
internal/comments/pg_repository.go
Repository (Interface)
News Repository
internal/news/pg_repository.go
SessRepository (Interface)
Session repository [6 implementers]
internal/session/redis_repository.go

Core symbols most depended-on inside this repo

LogResponseError
called by 54
pkg/utils/http.go
ErrorResponse
called by 50
pkg/httpErrors/http_errors.go
GetSize
called by 36
pkg/utils/pagination.go
Errorf
called by 31
pkg/logger/zap_logger.go
Run
called by 30
internal/server/server.go
NewApiLogger
called by 29
pkg/logger/zap_logger.go
GetRequestCtx
called by 28
pkg/utils/http.go
Error
called by 25
pkg/httpErrors/http_errors.go

Shape

Method 336
Function 144
Struct 73
Interface 17

Languages

Go100%

Modules by API surface

pkg/logger/zap_logger.go32 symbols
pkg/httpErrors/http_errors.go20 symbols
internal/auth/mock/usecase_mock.go20 symbols
internal/auth/mock/pg_repository_mock.go18 symbols
pkg/utils/http.go17 symbols
internal/news/mock/usecase_mock.go16 symbols
internal/news/mock/pg_repository_mock.go16 symbols
internal/comments/mock/usecase_mock.go14 symbols
internal/comments/mock/pg_repository_mock.go14 symbols
internal/auth/delivery/http/handlers.go14 symbols
config/config.go14 symbols
pkg/utils/pagination.go13 symbols

Datastores touched

auth_dbDatabase · 1 repos

For agents

$ claude mcp add Go-Clean-Architecture-REST-API \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact