hamza72x / go-gin-gorm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go + Gin + Gorm

Requirements

  • Copy example.env to dev.env and set the variables
cp example.env dev.env
  • air for live reloading
go install github.com/cosmtrek/air@latest

Running

  • By default dev is configured to postgres container
  • if you want to use mysql change cmd/cmd.go with mysql db connection (already there)
  • and update Makefile's dev script to use mysql container (already there)
make dev

Testing

make test

About


Languages

Language:Go 86.7%Language:Makefile 13.3%