The following is an example project to support Go via CMake in CLion. This allows full GDB debugging from within the IDE using the built in GDB runner.
We still utilize the IntelliJ-platform Go plugin for its built in syntax highlighting, and other editor functionality.
Please use at your own leisure, it has just barely been tested. However it does seem to work: