skip to Main Content

Ubuntu – Golang unable to "sqlc generate"

I am using windows and Ubuntu WSL but get this error when I try to sqlc generate. sqlc generate # package database sql/schema/001_users.sql:1:1: the PostgreSQL engine requires cgo. Please set CGO_ENABLED=1. export CGO_ENABLED=1 && sqlc generate # package database sql/schema/001_users.sql:1:1:…

VIEW QUESTION
Back To Top
Search