Wrapping C libraries with cgo is usually a pretty straightforward process. However, one problematic situation I’ve come across recently is dealing with C functions which take a void* type as a parameter. In C, a void* is a pointer to an arbitrary data type. I’ve been using one C library which allows you to storeContinue reading “C and Go – Dealing with void* parameters in cgo”