Is it possible form Go app to detect if CGo enabled?

前端 未结 0 1487
無奈伤痛
無奈伤痛 2020-12-02 15:05

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 enable

相关标签:
回答
  • 消灭零回复
提交回复
热议问题