If you want to use headless applications, my advice would be to use cgo for the GUI. This sounds illogical, but if the NDK supports ci-vid libraries, then it is probably easiest to write a GUI using these calls. Of course, you donβt need to write all the logic in C. You could just cgo wrappers for each of the GUI calls, and then write a GUI in go, except that every gui call will be translated through cgo.
source share