https://github.com/ryanlemes/graph-data-structure
Graph data structure implemented in Golang using clean architecture.
https://github.com/ryanlemes/graph-data-structure
clean-architecture clean-code data-structures go golang graph
Last synced: 3 months ago
JSON representation
Graph data structure implemented in Golang using clean architecture.
- Host: GitHub
- URL: https://github.com/ryanlemes/graph-data-structure
- Owner: ryanlemes
- License: apache-2.0
- Created: 2021-08-09T21:36:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-09T21:51:39.000Z (over 4 years ago)
- Last Synced: 2024-06-26T22:42:06.899Z (almost 2 years ago)
- Topics: clean-architecture, clean-code, data-structures, go, golang, graph
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Graph data structure
Graph data structure implemented in Golang
## Folder structure
This project was created based on [Uncle's bob Clean architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html)
and [bexcodec golang clean architecture](https://github.com/bxcodec/go-clean-arch).
Is structured like this:
```
root/
├── cmd/
│ └── cli/
│ └── main.go
├── domain/
│ ├── mocks/
│ │ ├── ArticleRepository.go
│ │ ├── AuthorRepository.go
│ │ └── ArticleUsecase.go
│ ├── edge.go
│ ├── graph.go
│ └── vertex.go
└── graph/
├── repository/
│ └── memory/
│ ├── memory_graph.go
│ └── memory_graph_test.go
└── usecase/
├── graph_usecase.go
└── graph_usecase_test.go
```