For more information & installation instructions on package demonstrated in this repository: https://github.com/golang/mock
The following make commands can be run in sequence to get started.
make install-deps
mockgen -source=user/service.go -destination=user/mocks/service.go
make generate
make dev
make migrate-up
make start
make lint
make test