https://github.com/flanksource/duty
https://github.com/flanksource/duty
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/flanksource/duty
- Owner: flanksource
- License: apache-2.0
- Created: 2022-04-07T06:03:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-04-15T18:27:52.000Z (2 months ago)
- Last Synced: 2026-04-15T18:36:35.760Z (2 months ago)
- Language: Go
- Size: 15 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 123
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# duty
Duty (**D**atabase **Ut**ilit**y**) is a home for common database tools, models and helpers used within the mission control suite of projects.
Duty wraps the awesome [atlas](https://github.com/ariga/atlas/) library, and copies some of its code to make use of internal functions.
## Running Tests
`make test` will run tests against a new embedded postgres instance
### Env Vars
- `DUTY_DB_URL`: the `postgres` db, each test will run against a new database called `duty_gingko`
- `TEST_DB_PORT`: will set the port that the test database will run on.