▲ | preetamjinka 2 days ago | ||||||||||||||||
We use mattn's go-sqlite3 in our SaaS product. It's not ideal from a toolchain perspective (i.e. cross compiling becomes a little annoying, especially with multi-arch Docker images) but once you get across that hurdle, we haven't run into any major problems with cgo. | |||||||||||||||||
▲ | hamburglar 2 days ago | parent [-] | ||||||||||||||||
The problem with cgo is it reduces portability, not that it causes issues. If whatever C you’re invoking doesn’t build on your architecture or if you need to cross-compile (last I checked), you’re out of luck. | |||||||||||||||||
|