Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikurotime/go_api_clean_architecture
Example of Go http api with clean architecture
https://github.com/ikurotime/go_api_clean_architecture
Last synced: about 4 hours ago
JSON representation
Example of Go http api with clean architecture
- Host: GitHub
- URL: https://github.com/ikurotime/go_api_clean_architecture
- Owner: ikurotime
- Created: 2024-02-17T17:17:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-17T17:46:33.000Z (9 months ago)
- Last Synced: 2024-10-12T02:42:52.509Z (27 days ago)
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Clean Arquitecture Example 🎯
This is a simple example of a Go project using Clean Arquitecture.
## Project Structure 📁
```sh
.
├── src/
│ ├── domain/
│ └── user.go
│ ├── infrastructure/
│ │ ├── router.go
│ │ └── sqlHandler.go
│ ├── interfaces/
│ │ ├── api/
│ │ │ ├── context.go
│ │ │ └── user_controller.go
│ │ └── database/
│ │ │ ├── sql_handler.go
│ │ │ └── user_repository.go
│ ├── usecase/
│ │ ├── user_interactor.go
│ │ └── user_repository.go
│ └── server.go
├── go.mod
├── go.sum
└── README.md
```## How to run 🚀
```sh
go run src/server.go
```