Skip to content

lfcifuentes/go-repository-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors

Languages