Closed fwhezfwhez closed 4 years ago
In my project, go 1.9, this package will throw undefined: driver.Connector.
undefined: driver.Connector
We use it to run production appliction and for some reason, can't upgrade go version.
Thus, how to solve this problem.
lib/pq supports the current and previous Go versions. If you want something that works with 1.9 you need to pin your dependency to an older version of lib/pq.
In my project, go 1.9, this package will throw
undefined: driver.Connector
.We use it to run production appliction and for some reason, can't upgrade go version.
Thus, how to solve this problem.