Iniciando o projeto:
- go mod init github.com/SEU_USER/SEU_REPOSITORIO
Instalando bibliotecas:
-
go get github.com/gin-gonic/gin
-
go get gorm.io/driver/postgres
-
go get gorm.io/gorm
Docker:
- docker-compose up --build
Executar projeto:
- go run main.go
| Name | Name | Last commit date | ||
|---|---|---|---|---|