报错信息:
register db Ping
default
, Binary was ***piled with ‘CGO_ENABLED=0’, go-sqlite3 requires cgo to work. This is a stub
Windows解决办法
1. 新建环境变量
2. 出现新的报错
报错信息:
Failed to build the application: # runtime/cgo
cgo: C ***piler “g***” not found: exec: “g***”: executable file not found in %PATH%
3. 安装G***
3.1 进入Sqlite3官网
- github