cgo在mac上编译 - 猿码设计师
../../pkg/mod/github.com/mattn/go-sqlite3@v1.10.0/backup.go:14:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h> ^~~~~~~~~~ 1 error generated.
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
Unix/Linux上编译
// +build unix linux
Darwin上编译
// +build darwin
Learn forever...