Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 446 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 446 Bytes

Go Template

Setup

  1. Install Go
  2. Install Docker
  3. make up
  4. make migrate
  5. make install-sqlboiler

Generate code

  1. make generate-sqlboiler
  2. make generate-mocks

Testing

  1. Start the database by running make up
  2. make migrate
  3. make test
  4. (Optional) After completion of your tests, make down

Clean-up

To delete database and migrate again: make clean