This was a quick little experiment to try to call Go code from Elixir. To try it out, simply run
$ go build -buildmode=c-shared -o nif-test.so
$ iex test.exs
This will put you into an IEx shell in which you can call Test.test/2
to add two integers together via a call to a Go function.