github.com/lovung/GoCleanArchitecture@v0.0.0-20210302152432-50d91fd29f9f/README.md (about)

     1  ![Go](https://github.com/lovung/GoCleanArchitecture/workflows/Go/badge.svg)
     2  ![Go Report](https://goreportcard.com/badge/github.com/lovung/GoCleanArchitecture?style=flat-square)
     3  [![codecov](https://codecov.io/gh/lovung/GoCleanArchitecture/branch/main/graph/badge.svg?token=QOX2GKGTA2)](https://codecov.io/gh/lovung/GoCleanArchitecture)
     4  
     5  # Golang Clean Architecture template	
     6  ## Clean Architecture blog post	
     7  [The Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html)	
     8  ![Layers](https://blog.cleancoder.com/uncle-bob/images/2012-08-13-the-clean-architecture/CleanArchitecture.jpg)	
     9  
    10  ## Skeleton
    11  ```
    12  .
    13  ├── app
    14  │   ├── config
    15  │   ├── external
    16  │   │   ├── api
    17  │   │   └── persistence
    18  │   │       ├── fs
    19  │   │       ├── kv
    20  │   │       ├── nosql
    21  │   │       └── rdbms
    22  │   ├── internal
    23  │   │   ├── appctx
    24  │   │   ├── apperror
    25  │   │   ├── domain
    26  │   │   │   ├── entity
    27  │   │   │   └── repository
    28  │   │   │       └── mockrepo
    29  │   │   ├── interface
    30  │   │   │   ├── adapter
    31  │   │   │   ├── grpc
    32  │   │   │   ├── persistence
    33  │   │   │   │   ├── fs
    34  │   │   │   │   ├── kv
    35  │   │   │   │   ├── nosql
    36  │   │   │   │   └── rdbms
    37  │   │   │   │       └── gormrepo
    38  │   │   │   └── restful
    39  │   │   │       ├── handler
    40  │   │   │       ├── middleware
    41  │   │   │       └── presenter
    42  │   │   ├── pkg
    43  │   │   │   └── gormutil
    44  │   │   ├── transaction
    45  │   │   └── usecase
    46  │   │       ├── dto
    47  │   │       ├── interactor
    48  │   │       └── mockusecase
    49  │   └── registry
    50  ├── build
    51  ├── cmd
    52  │   ├── gentool
    53  │   └── services
    54  │       └── core
    55  ├── databases
    56  │   └── mysql
    57  │       └── migrations
    58  ├── deployments
    59  │   ├── heroku
    60  │   ├── k8s
    61  │   └── local
    62  ├── docs
    63  ├── pkg
    64  │   ├── copier
    65  │   ├── gormer
    66  │   ├── hasher
    67  │   ├── jwtutil
    68  │   ├── logger
    69  │   ├── storage
    70  │   └── testhelper
    71  ├── scripts
    72  └── tests
    73      └── results
    74  ```
    75