cxgo

Transpiles C code to idiomatic Go code automatically

brewmacoslinux
Try with needOr install directly
Source

About

Transpiling C to Go

Commands

cxgo

Examples

Transpile a single C file to Go$ cxgo transpile -o output.go input.c
Transpile a C project directory$ cxgo transpile -o ./go_output ./c_source
Show version and available options$ cxgo --version && cxgo --help