Rwatana / BlogService

0 stars 0 forks source link

[Refactoring] Introduce clean architecture to go directory to increase readability #23

Open Rwatana opened 2 weeks ago

Rwatana commented 2 weeks ago

Background

The current Go project structure has become complex and difficult to navigate. As the codebase has grown, maintaining and extending the project has become increasingly challenging. This task aims to refactor the Go directory structure by introducing Clean Architecture principles to improve the overall readability and maintainability of the code.

Goal

This issue will be closed when the Go directory structure has been refactored according to Clean Architecture principles, resulting in a more organized and readable codebase.

Approach

Overview

Todo

Deadline

not desided

References

Rwatana commented 3 days ago

directory structure

app/  ├ infrastructure/mysql/  | └db/connect_db.go  | └repositry/logging_repositry.go  ├ server/  │ └ server.go  ├ domain/  │ └ logging/  │   └logging.go  | └logging_repositry.go