About cgogen

Today cgogen is a full-featured bindings generator that does 95% of the work, it allows anyone who would like to use any C library in their code do so in less than one hour without writing a single line of code. Initially it has been designed to be just a helper tool, the idea was to scan the provided C header files for structs, types and function definitions and convert their names into idiomatic Go ones, preparing boilerplate code for CGo calls, and so on. But this framework evolved much since then and now it provides almost fully atomatic way to get bindings for any common C headers.

cgogen project history

Most of the work on the project has been done in summer of 2015, then a year of field experiments and demos, and now it's the time to do a public release. Enjoy!

Read more on how you can benefit from using this tool: Top-5 reasons to use cgogen.

Source Code and Documentation