I don't know of a way without re-writing the library (it's not mine, btw :-)
Most of that appears to be internal stuff except xerrors and crypto; that's not a bad dependency list compared to some Maybe pq was one very large package, less stuff broken into subpackages? On Mon, Feb 22, 2021 at 7:56 AM Paul Förster <paul.foers...@gmail.com> wrote: > Hi Matthew, > > > On 22. Feb, 2021, at 15:28, Matthew Holiday <matthew.holi...@nytimes.com> > wrote: > > > > From the "status" section at the bottom of the README for pq: > > > > "This package is effectively in maintenance mode and is not actively > developed. Small patches and features are only rarely reviewed and merged. > We recommend using pgx which is actively maintained." > > in this case, can I reduce the heavyweight somehow? Why would I need all > this stuff? I only want to be able to connect and do a few selects, no DML, > no DDL, just a few select statements. Also, I'm a fan of small footprints. > :-) > > I'm new to Go, so please bear with me if my question seems somewhat > strange to you. > > Cheers, > Paul > > > $ go get github.com/jackc/pgx/v4 > go: downloading github.com/jackc/pgx/v4 v4.10.1 > go: downloading github.com/jackc/pgx v3.6.2+incompatible > go: downloading github.com/jackc/pgio v1.0.0 > go: downloading github.com/jackc/pgconn v1.8.0 > go: downloading github.com/jackc/pgproto3 v1.1.0 > go: downloading github.com/jackc/pgtype v1.6.2 > go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 > go: downloading github.com/jackc/chunkreader v1.0.0 > go: downloading github.com/jackc/pgpassfile v1.0.0 > go: downloading github.com/jackc/pgservicefile > v0.0.0-20200714003250-2b9c44734f2b > go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 > go: downloading github.com/jackc/pgproto3/v2 v2.0.6 > go: downloading golang.org/x/text v0.3.3 > go: downloading github.com/jackc/chunkreader/v2 v2.0.1 > > -- *Matt Holiday* Senior Gopher, Marketing Technologies 620 Eighth Avenue New York, NY 10018 matthew.holi...@nytimes.com -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGSa1CnZm59ziqZf6UbAoja2okYrVQKJ_m6WjB3-sBueZAhoMQ%40mail.gmail.com.