pg/

directory
v1.7.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: Apache-2.0

README

Postgresql Handler Development

##TLDR The following two steps are all you need to know:

  1. A single command starts the dev workflow:

    $ ./dev
    
  2. Another one runs the tests:

    $ ./test
    

So while developing, you'll do a single ./dev and then many ./test runs as you iteratively change the code or add new tests.

##Additional Details

./dev uses docker-compose to start both pg containers, the secretless container, and the test container (where tests are run from).

The test container does not get torn down after tests are run, as it does when invoked in normal (non-dev) mode. This means the required Go packages only need to be downloaded on the first test run. And this means that subsequent test runs are very fast.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL