#Integrating PostgreSQL
5 messages · Page 1 of 1 (latest)
I like this library pgx https://github.com/jackc/pgx
https://bitbucket.org/sudojoe/scsa/src/main/repository.go
This was a toy project I made that uses the pgx library and another library called goqu to generate sql.
I wouldn't say my code in this project is perfect. It's somewhat sloppy but it's simple enough that it might give you an idea of how you can connect with a postgres database and execute some queries
oh thank u so much!
If you read the README of pq, and the featureset offered by pgx, you'll probably understand why most recommend pgx.
pq only gets fixes to ensure that it remains usable in projects that import it.
This package is currently in maintenance mode, which means:
It generally does not accept new features. It does accept bug fixes and version compatability changes provided by the community. Maintainers usually do not resolve reported issues. Community members are encouraged to help each other with reported issues.For users that require new features or reliable resolution of reported bugs, we recommend using pgx which is under active development.