while using golang-migrate
command
migrate -path migrations/ -database "postgres://localhost/shopping_list?sslmode=disable" up
returns error
error: database driver: unknown driver postgres (forgotten import?)
As I understand lib/pq provides the drivers for the postgres or am I mistaken?
while using golang-migrate command migrate -path migrations/ -database "postgres://localhost/shopping_list?sslmode=disable" up returns error error: database driver: unknown driver postgres (forgotten import?) As I understand lib/pq provides the drivers for the postgres or am I mistaken?