▲ 9 ▼ Cgo: When and (Usually) When Not to Use it – Repeatable Systems
Cgo is really good. If you’ve worked with C libraries in other languages, I expect you already know it’s not always much fun. But Cgo is pretty easy to use, makes a lot of the hard work easy, and can appear to make working with a C library at the code level just like working with Go code. But that appearance of ease sometimes leads people down the wrong path.