Example code, complementing the blog post: "Calling Swift from Go"
Note: this repo is more than 3 years old. Feel free to use it as reference, but don't expect it to work with current versions of Go and Swift.
$ swift build
$ go build -o hello
$ ./hello