Learn GORM with examples.
- Docker for up the data bases (postgres), just do
$ docker-compose up
- Intent access for download GORM and postgres driver.
This project, use GORM with practical examples
The estructure of the project is his
.
├── LICENSE
├── README.md
├── docker-compose.yaml
├── go.mod
├── go.sum
├── pgdata //auto create with de data from container
└── src
├── connection
├── data
├── main.go
├── models
└── query
Then you run the application, It will create the tables Countries and Users in the data base.