My Go app can work with MySQL, Postgres, and SQLite. At the first start, it asks what DB should be used.
SQLite works only with CGo. Depending on whether it is enabled or not, SQLite should be displayed in a list of supported databases.
Is it possible for the Go app to detect if CGO_ENABLED=1?