Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mfloriach/repositories-example
Small project to show how to achieve polymorphism with repositories
https://github.com/mfloriach/repositories-example
clean-architecture go mongo mysql testcontainers
Last synced: 7 days ago
JSON representation
Small project to show how to achieve polymorphism with repositories
- Host: GitHub
- URL: https://github.com/mfloriach/repositories-example
- Owner: mfloriach
- Created: 2024-07-16T05:21:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T09:50:52.000Z (3 months ago)
- Last Synced: 2024-09-23T01:32:15.789Z (11 days ago)
- Topics: clean-architecture, go, mongo, mysql, testcontainers
- Language: Go
- Homepage:
- Size: 7.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Repositories example
[![test](https://github.com/mfloriach/repositories-example/actions/workflows/test.yml/badge.svg)](https://github.com/mfloriach/repositories-example/actions/workflows/test.yml)
![go](https://img.shields.io/badge/go-1.21-blue)Small project to show how to achieve polymorphism with repositories and design flexible interfaces to filter resuts.
This project use:
- Mysql
- MongoDBUsage:
```bash
go mod download
go test -run ^TestUser repos/repositories
```