Golang calling C from golang



Think the code is pretty straight forward. Have your source code in the same folder as shown below and run "go run main.go". That's all you need to do to get your golang code running.

The function call is case sensitive.





hello.c




sum.c

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm