please make sure you already have:
-
Golang installed
-
golang wire
go get github.com/google/wire/cmd/wire
and ensuring that $GOPATH/bin is added to your $PATH.
-
docker see docker documentation
-
postgres database
docker run --name postgres -p 5432:5432 -d postgres
you can see the example from .env.example
go run cmd/api/main.go cmd/api/wire_gen.go
- docker see docker documentation