Skip to content

lfcifuentes/go-repository-pattern

Repository files navigation

Repository Pattern Example

Run api

go run main.go run

Database Schema

go run main.go migrate

Testing

go test -cover ./...
go clean -testcache 
go test  ./... -coverprofile=coverage.out
go tool cover -html=coverage.out

Start Mysql Services

docker-compose up -d

Delete

docker-compose down

About

Implementation example of the repository design pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages