An example of C library integration in Golang. Linked project https://github.com/wdalmut/libgps