Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 356 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 356 Bytes

make image

  • docker build -t myapp .

establish db

  • make network
  • make pg
  • make makedb
  • make sqlc
  • make migrateup

generate tests

  • mockgen -package mockdb -destination mock/store.go github.com/fadedreams/gofinanceflow/infrastructure/db/sqlc Store
  • mockgen -source=sqlc/store.go -destination=mock_db/mock_db.go -package=mock_db #nope