How does value of CGO_ENABLED effects the pre-existing code in GOLANG?

Viewed 22

Context - I was using postgres as a DB service for my application but for people who have less specifications I wanted to provide an option to use sqlite as the db. For that I use a package which needs CGO_ENABLED=1 and I have CGO_EABLED=0, because of which my application is breaking. What's the significance of this CGO_ENABLED env variable?

0 Answers
Related