KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What tool to use to convert C source code into Go source code? For example, if the C code contains: struct Node { struct Node *left, *right; void *data; }; char charAt(char *s, int i) { return s[i]; } the corresponding Go code generated by the tool should be: type Node struct { left, right *Node data interface{} } func charAt(s string, i int) byte { return s[i] } The tool does not need to be perfect. It is OK if some parts of the generated Go code need to be corrected by hand.
Tags (comma-separated)
Save Edits
Cancel