Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mberlanda/pg-worker
https://github.com/mberlanda/pg-worker
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mberlanda/pg-worker
- Owner: mberlanda
- Created: 2019-05-22T19:52:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-23T18:47:47.000Z (over 5 years ago)
- Last Synced: 2024-05-10T22:02:04.084Z (6 months ago)
- Language: Shell
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pg Worker
The purpose of this repo is to familiarize with the `database/sql` go library.
### Setup
Assuming that go and postgresql are setup, the db can be prepared with a simple [cli](db.sh):
```sh
$ ./db.sh --create
$ ./db.sh --migrate
$ ./db.sh --seeds
```