jschaf / pggen

Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
MIT License
281 stars 26 forks source link

feat: handle dot paths on the output directory #78

Closed bweston92 closed 1 year ago

bweston92 commented 1 year ago

Use the absolute path for output directory.

Examples, if you're in the following directory /home/root/workspace/random

This means the Go package resolution from the output directory will not be set to . or .. as mentioned in #48 .