pgtype
pgtype copied to clipboard
Avoid transitive github.com/lib/pq dependency
trafficstars
Currently, users of pgtype pick up a transitive dependency on github.com/lib/pq. Would it be possible to relocate testutil to avoid this dependency?
It's only used by the tests. It shouldn't actually include github.com/lib/pq in your compiled programs.
Thanks @jackc. Yeah, it is not included in the compiled programs. It is added as an indirect dependency in go.mod which ideally would be avoided.