This chapter will introduce you to CGO, a Go runtime for the C language. It makes it possible to call C code from Go applications, and since C has a plethora of libraries available, this means that they can be leveraged in Go.
The following topics will be covered in this chapter:
- Using CGO from C and Go
- Understanding type differences