From a9e7978fdf94c34d8e929d858c94b5a2a5e08a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Santos?= Date: Fri, 19 Apr 2024 02:05:54 -0300 Subject: [PATCH] chore: readme --- README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8738be2..3c273dc 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,65 @@ ___ **POST** /posts/quote - '{"quote": "Post Content", "user_id": "uuid", "post_id": "UUID"}' - +### Project structure + ```bash + |-- cmd +| `-- api +| |-- api.go +| `-- api_test.go +|-- docs +| |-- img.png +| `-- postman_collection.json +|-- internal +| |-- infra +| | `-- repository +| | `-- inmemory +| | |-- post_inmemory_impl_repo.go +| | |-- post_inmemory_impl_repo_test.go +| | |-- user_inmemory_impl_repo.go +| | `-- user_inmemory_impl_repo_test.go +| |-- post +| | |-- handler +| | | `-- post.go +| | |-- usecase +| | | |-- createpost.usecase.go +| | | |-- createpost.usecase_test.go +| | | |-- createquotepost.usecase.go +| | | |-- createquotepost.usecase_test.go +| | | |-- createrepost.usecase.go +| | | `-- createrepost.usecase_test.go +| | |-- post.go +| | |-- post_test.go +| | `-- types.go +| `-- user +| |-- handler +| | `-- user.go +| |-- usecase +| | |-- getuserfeed.usecase.go +| | |-- getuserfeed.usecase_test.go +| | |-- getuserinfo.usecase.go +| | `-- getuserinfo.usecase_test.go +| |-- types.go +| |-- user.go +| `-- user_test.go +|-- mocks +| `-- mocks.go +|-- pkg +| |-- database +| | |-- basedatabase.go +| | `-- inmemory_db.go +| `-- helpers +| |-- hdates.go +| `-- helpers.go +|-- tests +|-- go.mod +|-- go.sum +|-- Makefile +`-- README.md + +18 directories, 35 files + + ``` ## Styleguide