Answer the question
In order to leave comments, you need to log in
How to fix "sql: unknown driver "sqlite3" (forgotten import?)" when cross compiling from Windows to Linux?
Good afternoon! Error when running Windows compiled file on linux machine:
sql: unknown driver "sqlite3" (forgotten import?)
Everything works fine on Windows
Tried driver github.com/mattn/go-sqlite3 and github.com/mxk/go-sqlite /
Compiling:
set GOOS=linux
go build entry.go
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question