Interacting between C libraries and Go using Unsafe (opens in new tab)
Suppose we have a C lib where we have defined various data structures and methods. Due to some reason or constraint, there needs to be a Golang process which has to reuse the structures mentioned in the C lib...
Read the original article