panic: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

panic: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

CGO_ENABLED=0
改为
CGO_ENABLED=1

参考:
https://github.com/google/ko/issues/52

posted @ 2022-01-18 10:42  rab3it  阅读(3319)  评论(0)    收藏  举报